Skip to content

Commit

Permalink
Add missing DOMOTICZ_... ifndef guards
Browse files Browse the repository at this point in the history
  • Loading branch information
mcspr authored Aug 5, 2019
1 parent 228fba5 commit 8d009a6
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions code/espurna/config/general.h
Original file line number Diff line number Diff line change
Expand Up @@ -1100,9 +1100,17 @@
#define DOMOTICZ_SUPPORT MQTT_SUPPORT // Build with domoticz (if MQTT) support (1.72Kb)
#endif

#ifndef DOMOTICZ_ENABLED
#define DOMOTICZ_ENABLED 0 // Disable domoticz by default
#endif

#ifndef DOMOTICZ_IN_TOPIC
#define DOMOTICZ_IN_TOPIC "domoticz/in" // Default subscription topic
#endif

#ifndef DOMOTICZ_OUT_TOPIC
#define DOMOTICZ_OUT_TOPIC "domoticz/out" // Default publication topic
#endif

// -----------------------------------------------------------------------------
// HOME ASSISTANT
Expand Down

0 comments on commit 8d009a6

Please sign in to comment.