MQTT false connected events when unconfigured (#25100)

This commit is contained in:
s-hadinger authored and GitHub committed 2026-10-03 23:39:14 +02:00
1 parent 78902044e2
commit 66c8f1ab9d
2 files changed
+2 -1

No files matched your search

+1
View File
@@ -22,6 +22,7 @@ All notable changes to this project will be documented in this file.
### Fixed
- Matter non-bridge endpoint topology
- MQTT false connected events when unconfigured
### Removed
@@ -1490,7 +1490,7 @@ void MqttConnected(void) {
Mqtt.initial_connection_state = 0;
TasmotaGlobal.global_state.mqtt_down = 0;
if (Settings->flag.mqtt_enabled) { // SetOption3 - Enable MQTT
if (Mqtt.connected) {
TasmotaGlobal.rules_flag.mqtt_connected = 1;
}
}