mirror of
https://github.com/home-assistant/core.git
synced 2025-08-04 02:58:23 +00:00
Increase timeout for fetching camera data on Synology DSM (#59237)
This commit is contained in:
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user