mirror of
https://github.com/home-assistant/core.git
synced 2025-07-21 12:17:07 +00:00
Increase timeout for fetching camera data on Synology DSM (#59237)
This commit is contained in:
parent
a989fd2e66
commit
a22a966fac
@ -164,7 +164,7 @@ async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool:
|
||||
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