mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-07 16:29:51 +03:00
comment out HA config of shower timestamp
This commit is contained in:
@@ -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
|
||||||
|
*/
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user