From d248d5cc213ddd24b3fcafb3986dde8376738bce Mon Sep 17 00:00:00 2001 From: proddy Date: Wed, 23 Oct 2024 17:48:59 +0200 Subject: [PATCH] add comment --- src/shower.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/shower.cpp b/src/shower.cpp index 1460c93f6..88226cd79 100644 --- a/src/shower.cpp +++ b/src/shower.cpp @@ -204,7 +204,7 @@ void Shower::set_shower_state(bool state, bool force) { Mqtt::add_ha_bool(doc); - Mqtt::add_ha_sections_to_doc("shower", stat_t, doc, true); // create first dev & ids + Mqtt::add_ha_sections_to_doc("shower", stat_t, doc, true); // create first dev & ids, no conditions snprintf(topic, sizeof(topic), "binary_sensor/%s/shower_active/config", Mqtt::basename().c_str()); ha_configdone_ = Mqtt::queue_ha(topic, doc.as()); // publish the config payload with retain flag