Skip to content

Commit

Permalink
Add Shelly debug logging for async_reconnect_soon (#117945)
Browse files Browse the repository at this point in the history
  • Loading branch information
thecode authored May 23, 2024
1 parent e663d4f commit 178c185
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions homeassistant/components/shelly/config_flow.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 178c185

Please sign in to comment.