mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-07 16:29:51 +03:00
ha optimistic, cs6800 changes, custom entity hide
This commit is contained in:
@@ -206,6 +206,14 @@ class Mqtt {
|
||||
ha_enabled_ = ha_enabled;
|
||||
}
|
||||
|
||||
static bool ha_optimistic() {
|
||||
return ha_optimistic_;
|
||||
}
|
||||
|
||||
static void ha_optimistic(bool ha_optimistic) {
|
||||
ha_optimistic_ = ha_optimistic;
|
||||
}
|
||||
|
||||
static bool ha_climate_reset() {
|
||||
return ha_climate_reset_;
|
||||
}
|
||||
@@ -309,6 +317,7 @@ class Mqtt {
|
||||
static uint32_t publish_time_heartbeat_;
|
||||
static bool mqtt_enabled_;
|
||||
static bool ha_enabled_;
|
||||
static bool ha_optimistic_;
|
||||
static uint8_t nested_format_;
|
||||
static uint8_t entity_format_;
|
||||
static std::string discovery_prefix_;
|
||||
|
||||
Reference in New Issue
Block a user