From 12f1a322a7e5e83bc0c308252eb98b42873ab1c8 Mon Sep 17 00:00:00 2001 From: Pascal Vizeli Date: Fri, 20 Dec 2019 16:20:10 +0000 Subject: [PATCH] Fix test --- homeassistant/components/deconz/config_flow.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]