Skip to content

Commit

Permalink
Reolink simplify (home-assistant#87224)
Browse files Browse the repository at this point in the history
Simplify
  • Loading branch information
starkillerOG authored Feb 3, 2023
1 parent ce79b26 commit 25cfa8a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions homeassistant/components/reolink/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,9 +82,9 @@ async def async_device_config_update():
# 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,
Expand Down

0 comments on commit 25cfa8a

Please sign in to comment.