diff --git a/homeassistant/components/deconz/config_flow.py b/homeassistant/components/deconz/config_flow.py index 5ede8e715b9..b9a299230ad 100644 --- a/homeassistant/components/deconz/config_flow.py +++ b/homeassistant/components/deconz/config_flow.py @@ -13,6 +13,7 @@ from homeassistant.core import callback from homeassistant.helpers import aiohttp_client from .const import ( + _LOGGER, CONF_ALLOW_CLIP_SENSOR, CONF_ALLOW_DECONZ_GROUPS, CONF_BRIDGEID, @@ -176,6 +177,8 @@ class DeconzFlowHandler(config_entries.ConfigFlow, domain=DOMAIN): uuid = discovery_info[ATTR_UUID].replace("uuid:", "") + _LOGGER.debug("deCONZ gateway discovered (%s)", uuid) + for entry in self.hass.config_entries.async_entries(DOMAIN): if uuid == entry.data.get(CONF_UUID): return await self._update_entry(entry, discovery_info[CONF_HOST])