From b1b763b77a9076c7b38048f83535374612d861d7 Mon Sep 17 00:00:00 2001 From: proddy Date: Sat, 23 Jan 2021 14:28:56 +0100 Subject: [PATCH] bring back shower_active --- src/shower.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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_)) {