From ec923b877cdf420d3ee51e9cae9d8c334bcce95b Mon Sep 17 00:00:00 2001 From: epenet <6771947+epenet@users.noreply.github.com> Date: Tue, 30 Nov 2021 17:02:24 +0100 Subject: [PATCH] Use dataclass properties in rachio discovery (#60637) Co-authored-by: epenet --- homeassistant/components/rachio/config_flow.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homeassistant/components/rachio/config_flow.py b/homeassistant/components/rachio/config_flow.py index 73712135785..9e93dba065e 100644 --- a/homeassistant/components/rachio/config_flow.py +++ b/homeassistant/components/rachio/config_flow.py @@ -86,7 +86,7 @@ class ConfigFlow(config_entries.ConfigFlow, domain=DOMAIN): """Handle HomeKit discovery.""" self._async_abort_entries_match() await self.async_set_unique_id( - discovery_info[zeroconf.ATTR_PROPERTIES][zeroconf.ATTR_PROPERTIES_ID] + discovery_info.properties[zeroconf.ATTR_PROPERTIES_ID] ) return await self.async_step_user()