comment out HA config of shower timestamp

This commit is contained in:
MichaelDvP
2025-04-08 17:59:01 +02:00
parent b252c2f95a
commit 70035b059c

View File

@@ -237,6 +237,7 @@ void Shower::set_shower_state(bool state, bool force) {
// //
// shower timestamp // shower timestamp
// //
/* commented out as the publish of timestamp
doc.clear(); doc.clear();
snprintf(str, sizeof(str), "%s_shower_timestamp", Mqtt::basename().c_str()); snprintf(str, sizeof(str), "%s_shower_timestamp", Mqtt::basename().c_str());
@@ -255,6 +256,7 @@ void Shower::set_shower_state(bool state, bool force) {
snprintf(topic, sizeof(topic), "sensor/%s/shower_timestamp/config", Mqtt::basename().c_str()); snprintf(topic, sizeof(topic), "sensor/%s/shower_timestamp/config", Mqtt::basename().c_str());
Mqtt::queue_ha(topic, doc.as<JsonObject>()); // publish the config payload with retain flag Mqtt::queue_ha(topic, doc.as<JsonObject>()); // publish the config payload with retain flag
*/
} }
} }