Remove unchecked return value in synology_dsm (#39929)
parent
9b49ca3820
commit
4e10895a19
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue