mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2026-03-16 06:36:32 +03:00
change show_info to read of json, updates to use HA MQTT Discovery
This commit is contained in:
@@ -47,11 +47,11 @@ class Boiler : public EMSdevice {
|
||||
static uuid::log::Logger logger_;
|
||||
|
||||
void register_mqtt_ha_config();
|
||||
void register_mqtt_ha_binary_sensor(const __FlashStringHelper * name, const char * entity);
|
||||
void register_mqtt_ha_sensor(const __FlashStringHelper * name, const char * entity, const char * uom, const char * icon);
|
||||
void check_active();
|
||||
bool export_values(JsonObject & doc);
|
||||
|
||||
void print_value2(uuid::console::Shell & shell, const char * param, const __FlashStringHelper * name, const __FlashStringHelper * suffix, JsonObject & json);
|
||||
|
||||
uint8_t last_boilerState = 0xFF; // remember last state of heating and warm water on/off
|
||||
bool changed_ = false;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user