mirror of
https://github.com/arendst/Tasmota.git
synced 2026-10-27 06:22:25 +00:00
MQTT false connected events when unconfigured (#25100)
This commit is contained in:
1 parent
78902044e2
commit
66c8f1ab9d
2 files changed
+2
-1
No files matched your search
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user