bring back shower_active

This commit is contained in:
proddy
2021-01-23 14:28:56 +01:00
parent c9e831a527
commit b1b763b77a

View File

@@ -96,8 +96,8 @@ void Shower::send_mqtt_stat(bool state) {
return;
}
// char s[7];
// Mqtt::publish(F("shower_active"), Helpers::render_boolean(s, state));
char s[7];
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 ((Mqtt::ha_enabled()) && (!ha_configdone_)) {