Skip to content

Commit

Permalink
Do not block on reolink firmware check fail (#88797)
Browse files Browse the repository at this point in the history
Do not block on firmware check fail
  • Loading branch information
starkillerOG authored and balloob committed Feb 27, 2023
1 parent a7e081f commit e48089e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion homeassistant/components/reolink/__init__.py
Expand Up @@ -106,9 +106,10 @@ async def async_check_firmware_update():
)
# 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()
Expand Down

0 comments on commit e48089e

Please sign in to comment.