mirror of
https://github.com/home-assistant/core.git
synced 2025-07-07 13:27:09 +00:00
Do not block on reolink firmware check fail (#88797)
Do not block on firmware check fail
This commit is contained in:
parent
a7e081f70d
commit
e48089e0c9
@ -106,9 +106,10 @@ async def async_setup_entry(hass: HomeAssistant, config_entry: ConfigEntry) -> b
|
||||
)
|
||||
# Fetch initial data so we have data when entities subscribe
|
||||
try:
|
||||
# If camera WAN blocked, firmware check fails, do not prevent setup
|
||||
await asyncio.gather(
|
||||
device_coordinator.async_config_entry_first_refresh(),
|
||||
firmware_coordinator.async_config_entry_first_refresh(),
|
||||
firmware_coordinator.async_refresh(),
|
||||
)
|
||||
except ConfigEntryNotReady:
|
||||
await host.stop()
|
||||
|
Loading…
x
Reference in New Issue
Block a user