dont allow not_connected_publish, fix mqtt success/fail counters, v3.7.0-dev1a

This commit is contained in:
MichaelDvP
2023-08-30 12:19:55 +02:00
parent f6a4da0584
commit d0c368f6a0
4 changed files with 5 additions and 5 deletions

View File

@@ -506,7 +506,7 @@ void Mqtt::on_connect() {
// publish to the last will topic (see Mqtt::start() function) to say we're alive
queue_publish_retain("status", "online", true); // with retain on
mqtt_publish_fails_ = 0; // reset fail count to 0
// mqtt_publish_fails_ = 0; // reset fail count to 0
}
// Home Assistant Discovery - the main master Device called EMS-ESP