Add Shelly debug logging for async_reconnect_soon (#117945)
parent
ac97f25d6c
commit
09779b5f6e
|
@ -256,6 +256,7 @@ class ShellyConfigFlow(ConfigFlow, domain=DOMAIN):
|
||||||
if (
|
if (
|
||||||
current_entry := await self.async_set_unique_id(mac)
|
current_entry := await self.async_set_unique_id(mac)
|
||||||
) and current_entry.data.get(CONF_HOST) == host:
|
) and current_entry.data.get(CONF_HOST) == host:
|
||||||
|
LOGGER.debug("async_reconnect_soon: host: %s, mac: %s", host, mac)
|
||||||
await async_reconnect_soon(self.hass, current_entry)
|
await async_reconnect_soon(self.hass, current_entry)
|
||||||
if host == INTERNAL_WIFI_AP_IP:
|
if host == INTERNAL_WIFI_AP_IP:
|
||||||
# If the device is broadcasting the internal wifi ap ip
|
# If the device is broadcasting the internal wifi ap ip
|
||||||
|
|
Loading…
Reference in New Issue