mirror of
https://github.com/home-assistant/core.git
synced 2025-07-08 22:07:10 +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
|
# Fetch initial data so we have data when entities subscribe
|
||||||
try:
|
try:
|
||||||
|
# If camera WAN blocked, firmware check fails, do not prevent setup
|
||||||
await asyncio.gather(
|
await asyncio.gather(
|
||||||
device_coordinator.async_config_entry_first_refresh(),
|
device_coordinator.async_config_entry_first_refresh(),
|
||||||
firmware_coordinator.async_config_entry_first_refresh(),
|
firmware_coordinator.async_refresh(),
|
||||||
)
|
)
|
||||||
except ConfigEntryNotReady:
|
except ConfigEntryNotReady:
|
||||||
await host.stop()
|
await host.stop()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user