mirror of
https://github.com/home-assistant/core.git
synced 2025-07-27 15:17:35 +00:00
Fix too-abrubt SimpliSafe data refresh termination on error (#22466)
This commit is contained in:
parent
c4eab21736
commit
8777146053
@ -113,8 +113,9 @@ async def async_setup_entry(hass, config_entry):
|
|||||||
try:
|
try:
|
||||||
await system.update()
|
await system.update()
|
||||||
except SimplipyError as err:
|
except SimplipyError as err:
|
||||||
_LOGGER.error('There was an error while updating: %s', err)
|
_LOGGER.error(
|
||||||
return
|
'There was error updating "%s": %s', system.address, err)
|
||||||
|
continue
|
||||||
|
|
||||||
async_dispatcher_send(hass, TOPIC_UPDATE.format(system.system_id))
|
async_dispatcher_send(hass, TOPIC_UPDATE.format(system.system_id))
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user