Increase Supervisor add-on helper timeout (#43778)

pull/43786/head
Martin Hjelmare 2020-11-30 20:40:31 +01:00 committed by GitHub
parent ba4d630470
commit 2f73590714
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -159,7 +159,7 @@ async def async_uninstall_addon(hass: HomeAssistantType, slug: str) -> dict:
"""
hassio = hass.data[DOMAIN]
command = f"/addons/{slug}/uninstall"
return await hassio.send_command(command)
return await hassio.send_command(command, timeout=60)
@bind_hass
@ -183,7 +183,7 @@ async def async_stop_addon(hass: HomeAssistantType, slug: str) -> dict:
"""
hassio = hass.data[DOMAIN]
command = f"/addons/{slug}/stop"
return await hassio.send_command(command)
return await hassio.send_command(command, timeout=60)
@bind_hass