From 95a8b78d1dfbcee3fed308eef06fd99422f6e6de Mon Sep 17 00:00:00 2001 From: MichaelDvP Date: Wed, 12 Aug 2026 08:54:05 +0200 Subject: [PATCH] revert commit #9c992d8 --- CHANGELOG_LATEST.md | 2 +- src/core/mqtt.cpp | 2 +- src/emsesp_version.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/CHANGELOG_LATEST.md b/CHANGELOG_LATEST.md index d4f73ac66..f47345d9d 100644 --- a/CHANGELOG_LATEST.md +++ b/CHANGELOG_LATEST.md @@ -21,7 +21,6 @@ This release is based on the latest Espressif/Arduino core version 3. It brings - Ethernet MAC address changed with the new SDK, breaking DHCP reservations (currently disabled) - "IPv4 nameserver" showed an IPv6 address when IPv6 was in use - HA Discovery warning on Uptime after EMS-ESP boot due to NTP not ready -- show MQTT connection error only once on the first connect failure ## Changed @@ -33,4 +32,5 @@ This release is based on the latest Espressif/Arduino core version 3. It brings - show control setting only for master thermostats (0x10) [#3173](https://github.com/emsesp/EMS-ESP32/issues/3173) - remove devices without entities not listed in 0x07 telegram - changes to the Dialogs in Dashboard page, removed the run icon in the Commands page. Renamed Execute to Run. +- set `None` for undefined values in HA `val_tpl` diff --git a/src/core/mqtt.cpp b/src/core/mqtt.cpp index 614dc6461..1e2fba714 100644 --- a/src/core/mqtt.cpp +++ b/src/core/mqtt.cpp @@ -473,7 +473,7 @@ bool Mqtt::get_publish_onchange(uint8_t device_type) { } void Mqtt::on_disconnect(espMqttClientTypes::DisconnectReason reason) { // only show the error once on the first connect failure - if (connectcount_) { + if (!connecting_) { return; } connecting_ = false; diff --git a/src/emsesp_version.h b/src/emsesp_version.h index 929ebedf7..19dbf2a47 100644 --- a/src/emsesp_version.h +++ b/src/emsesp_version.h @@ -1 +1 @@ -#define EMSESP_APP_VERSION "3.9.0-dev.4" +#define EMSESP_APP_VERSION "3.9.0-dev.5"