Handle no host info in ignored config entries (#30822)
parent
1566d963a8
commit
6f24fe3970
|
@ -69,7 +69,7 @@ async def async_setup(hass, config):
|
||||||
bridges = conf[CONF_BRIDGES]
|
bridges = conf[CONF_BRIDGES]
|
||||||
|
|
||||||
configured_hosts = set(
|
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:
|
for bridge_conf in bridges:
|
||||||
|
|
Loading…
Reference in New Issue