diff --git a/code/espurna/config/arduino.h b/code/espurna/config/arduino.h index 8c7d1bb2..a03dc4e1 100644 --- a/code/espurna/config/arduino.h +++ b/code/espurna/config/arduino.h @@ -52,6 +52,7 @@ //#define DOMOTICZ_SUPPORT 0 //#define DS18B20_SUPPORT 1 //#define EMON_SUPPORT 1 +//#define HOMEASSISTANT_SUPPORT 0 //#define I2C_SUPPORT 1 //#define INFLUXDB_SUPPORT 0 //#define MDNS_SUPPORT 0 diff --git a/code/espurna/homeassitant.ino b/code/espurna/homeassitant.ino index ffca411e..49ecd6aa 100644 --- a/code/espurna/homeassitant.ino +++ b/code/espurna/homeassitant.ino @@ -8,6 +8,8 @@ Copyright (C) 2017 by Xose PĂ©rez #if HOMEASSISTANT_SUPPORT +#include + void haSend() { DEBUG_MSG_P(PSTR("[HA] Sending autodiscovery MQTT message\n"));