From 2721444af0f0e899c28d5036fbc23b6f34999f9b Mon Sep 17 00:00:00 2001 From: Adrian Scillato <35405447+ascillato@users.noreply.github.com> Date: Thu, 26 Nov 2020 10:08:31 -0300 Subject: [PATCH] Fix HA Discovery Issue with Uninitialized Sensors --- tasmota/xdrv_12_home_assistant.ino | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasmota/xdrv_12_home_assistant.ino b/tasmota/xdrv_12_home_assistant.ino index b18d379db..a035ae281 100644 --- a/tasmota/xdrv_12_home_assistant.ino +++ b/tasmota/xdrv_12_home_assistant.ino @@ -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(); // }