Add Shelly debug logging for async_reconnect_soon (#117945)

This commit is contained in:
Shay Levy 2024-05-23 06:15:15 +03:00 committed by GitHub
parent e663d4f602
commit 178c185a2f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -256,6 +256,7 @@ class ShellyConfigFlow(ConfigFlow, domain=DOMAIN):
if (
current_entry := await self.async_set_unique_id(mac)
) 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)
if host == INTERNAL_WIFI_AP_IP:
# If the device is broadcasting the internal wifi ap ip