From 178c185a2fd83f81518498675adf04c7f1f22c64 Mon Sep 17 00:00:00 2001 From: Shay Levy Date: Thu, 23 May 2024 06:15:15 +0300 Subject: [PATCH] Add Shelly debug logging for async_reconnect_soon (#117945) --- homeassistant/components/shelly/config_flow.py | 1 + 1 file changed, 1 insertion(+) diff --git a/homeassistant/components/shelly/config_flow.py b/homeassistant/components/shelly/config_flow.py index d8f455562ddd8d..c044d0321703d7 100644 --- a/homeassistant/components/shelly/config_flow.py +++ b/homeassistant/components/shelly/config_flow.py @@ -256,6 +256,7 @@ async def _async_discovered_mac(self, mac: str, host: str) -> None: 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