mirror of
https://github.com/home-assistant/core.git
synced 2025-07-21 12:17:07 +00:00
Increase Supervisor add-on helper timeout (#43778)
This commit is contained in:
parent
ba4d630470
commit
2f73590714
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user