Increase Supervisor add-on helper timeout (#43778)

This commit is contained in:
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

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