mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-07 08:19:52 +03:00
bring back shower_active
This commit is contained in:
@@ -96,8 +96,8 @@ void Shower::send_mqtt_stat(bool state) {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
// char s[7];
|
char s[7];
|
||||||
// Mqtt::publish(F("shower_active"), Helpers::render_boolean(s, state));
|
Mqtt::publish(F("shower_active"), Helpers::render_boolean(s, state)); // https://github.com/proddy/EMS-ESP/issues/369
|
||||||
|
|
||||||
// if we're in HA mode make sure we've first sent out the HA MQTT Discovery config topic
|
// if we're in HA mode make sure we've first sent out the HA MQTT Discovery config topic
|
||||||
if ((Mqtt::ha_enabled()) && (!ha_configdone_)) {
|
if ((Mqtt::ha_enabled()) && (!ha_configdone_)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user