mirror of
https://github.com/home-assistant/core.git
synced 2025-07-27 15:17:35 +00:00
Handle no host info in ignored config entries (#30822)
This commit is contained in:
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…
x
Reference in New Issue
Block a user