mirror of
https://github.com/xoseperez/espurna.git
synced 2026-03-06 16:27:12 +01:00
Add dependencies for HA support
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -8,6 +8,8 @@ Copyright (C) 2017 by Xose Pérez <xose dot perez at gmail dot com>
|
||||
|
||||
#if HOMEASSISTANT_SUPPORT
|
||||
|
||||
#include <ArduinoJson.h>
|
||||
|
||||
void haSend() {
|
||||
|
||||
DEBUG_MSG_P(PSTR("[HA] Sending autodiscovery MQTT message\n"));
|
||||
|
||||
Reference in New Issue
Block a user