mirror of
https://github.com/arendst/Tasmota.git
synced 2025-04-25 07:17:16 +00:00
Merge pull request #9985 from ascillato/patch-1
Fix HA Discovery Issue with Uninitialized Sensors
This commit is contained in:
commit
3b0cfab8ae
@ -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