forked from home-assistant/core
Increase timeout for fetching camera data on Synology DSM (#59237)
This commit is contained in:
committed by
Paulus Schoutsen
parent
dcada92cef
commit
a4253ff54e
@@ -233,7 +233,7 @@ async def async_setup_entry( # noqa: C901
|
||||
surveillance_station = api.surveillance_station
|
||||
|
||||
try:
|
||||
async with async_timeout.timeout(10):
|
||||
async with async_timeout.timeout(30):
|
||||
await hass.async_add_executor_job(surveillance_station.update)
|
||||
except SynologyDSMAPIErrorException as err:
|
||||
raise UpdateFailed(f"Error communicating with API: {err}") from err
|
||||
|
Reference in New Issue
Block a user