Fix too-abrubt SimpliSafe data refresh termination on error (#22466)

This commit is contained in:
Aaron Bach 2019-03-27 21:14:49 -06:00 committed by Paulus Schoutsen
parent c4eab21736
commit 8777146053
1 changed files with 3 additions and 2 deletions

View File

@ -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))