Handle no host info in ignored config entries (#30822)

pull/30828/head
Paulus Schoutsen 2020-01-16 01:19:38 -08:00 committed by Pascal Vizeli
parent 1566d963a8
commit 6f24fe3970
1 changed files with 1 additions and 1 deletions

View File

@ -69,7 +69,7 @@ async def async_setup(hass, config):
bridges = conf[CONF_BRIDGES]
configured_hosts = set(
entry.data["host"] for entry in hass.config_entries.async_entries(DOMAIN)
entry.data.get("host") for entry in hass.config_entries.async_entries(DOMAIN)
)
for bridge_conf in bridges: