Skip to content

Commit 910809c

Browse files
committed
Update config_flow.py
final change for 2022.6 HASS compatibility
1 parent 40fc347 commit 910809c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

custom_components/intellicenter/config_flow.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ async def async_step_zeroconf(self, discovery_info: ConfigType) -> Dict[str, Any
5757

5858
_LOGGER.debug(f"zeroconf discovery {discovery_info}")
5959

60-
host = discovery_info[CONF_HOST]
60+
host = discovery_info.host
6161

6262
if self._host_already_configured(host):
6363
return self.async_abort(reason="already_configured")

0 commit comments

Comments
 (0)