mirror of
https://github.com/home-assistant/core.git
synced 2025-07-09 14:27:07 +00:00
parent
ce79b26ab6
commit
25cfa8afdd
@ -82,9 +82,9 @@ async def async_setup_entry(hass: HomeAssistant, config_entry: ConfigEntry) -> b
|
||||
# Fetch initial data so we have data when entities subscribe
|
||||
try:
|
||||
await coordinator_device_config_update.async_config_entry_first_refresh()
|
||||
except ConfigEntryNotReady as err:
|
||||
except ConfigEntryNotReady:
|
||||
await host.stop()
|
||||
raise err
|
||||
raise
|
||||
|
||||
hass.data.setdefault(DOMAIN, {})[config_entry.entry_id] = ReolinkData(
|
||||
host=host,
|
||||
|
Loading…
x
Reference in New Issue
Block a user