Remove unchecked return value in synology_dsm (#39929)

pull/39953/head
Xiaonan Shen 2020-09-12 04:14:22 +08:00 committed by GitHub
parent 9b49ca3820
commit 4e10895a19
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@ async def async_setup_entry(
api = hass.data[DOMAIN][entry.unique_id][SYNO_API] api = hass.data[DOMAIN][entry.unique_id][SYNO_API]
if SynoSurveillanceStation.CAMERA_API_KEY not in api.dsm.apis: if SynoSurveillanceStation.CAMERA_API_KEY not in api.dsm.apis:
return True return
surveillance_station = api.surveillance_station surveillance_station = api.surveillance_station
await hass.async_add_executor_job(surveillance_station.update) await hass.async_add_executor_job(surveillance_station.update)