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

This commit is contained in:
Paulus Schoutsen 2020-01-16 01:19:38 -08:00
parent 8f852bd656
commit 881b35f9d6

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: