mirror of
https://github.com/arendst/Tasmota.git
synced 2025-04-24 06:47:17 +00:00
Fix HA Discovery Issue with Uninitialized Sensors
This commit is contained in:
parent
25dfb84171
commit
2721444af0
@ -1172,7 +1172,7 @@ bool Xdrv12(uint8_t function)
|
||||
break;
|
||||
case FUNC_MQTT_INIT:
|
||||
hass_mode = 0; // Discovery only if Settings.flag.hass_discovery is set
|
||||
hass_init_step = 2; // Delayed discovery
|
||||
hass_init_step = 10; // Delayed discovery
|
||||
// if (!Settings.flag.hass_discovery) {
|
||||
// NewHAssDiscovery();
|
||||
// }
|
||||
|
Loading…
x
Reference in New Issue
Block a user