mirror of
https://github.com/home-assistant/core.git
synced 2025-07-21 04:07:08 +00:00
Remove unchecked return value in synology_dsm (#39929)
This commit is contained in:
parent
9b49ca3820
commit
4e10895a19
@ -27,7 +27,7 @@ async def async_setup_entry(
|
||||
api = hass.data[DOMAIN][entry.unique_id][SYNO_API]
|
||||
|
||||
if SynoSurveillanceStation.CAMERA_API_KEY not in api.dsm.apis:
|
||||
return True
|
||||
return
|
||||
|
||||
surveillance_station = api.surveillance_station
|
||||
await hass.async_add_executor_job(surveillance_station.update)
|
||||
|
Loading…
x
Reference in New Issue
Block a user