diff --git a/homeassistant/components/deconz/config_flow.py b/homeassistant/components/deconz/config_flow.py index 8a34ddcbae0..ce890cd0103 100644 --- a/homeassistant/components/deconz/config_flow.py +++ b/homeassistant/components/deconz/config_flow.py @@ -188,7 +188,7 @@ class DeconzFlowHandler(config_entries.ConfigFlow, domain=DOMAIN): for entry in self.hass.config_entries.async_entries(DOMAIN): if uuid == entry.data.get(CONF_UUID): return self._update_entry( - entry, discovery_info[CONF_HOST], discovery_info[CONF_PORT] + entry, discovery_info[CONF_HOST], entry.data.get[CONF_PORT] ) bridgeid = discovery_info[ATTR_SERIAL]