mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-07 08:19:52 +03:00
don't send shower MQTT if MQTT disabled
This commit is contained in:
@@ -28,7 +28,9 @@ void Shower::start() {
|
||||
shower_alert_ = settings.shower_alert;
|
||||
});
|
||||
|
||||
if (Mqtt::enabled()) {
|
||||
send_mqtt_stat(false); // send first MQTT publish
|
||||
}
|
||||
}
|
||||
|
||||
void Shower::loop() {
|
||||
|
||||
Reference in New Issue
Block a user