mirror of https://github.com/home-assistant/core
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:
|
||||
await system.update()
|
||||
except SimplipyError as err:
|
||||
_LOGGER.error('There was an error while updating: %s', err)
|
||||
return
|
||||
_LOGGER.error(
|
||||
'There was error updating "%s": %s', system.address, err)
|
||||
continue
|
||||
|
||||
async_dispatcher_send(hass, TOPIC_UPDATE.format(system.system_id))
|
||||
|
||||
|
|
Loading…
Reference in New Issue