This commit is contained in:
Pascal Vizeli 2019-12-20 16:20:10 +00:00
parent 488f26d55b
commit 12f1a322a7

View file

@ -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]