diff --git a/src/shower.cpp b/src/shower.cpp index eba5afff0..bc826be5e 100644 --- a/src/shower.cpp +++ b/src/shower.cpp @@ -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_)) {