1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-24 12:59:34 +00:00

Add reboot button to Shelly devices (#60417)

This commit is contained in:
Michael
2021-11-29 19:49:49 +01:00
committed by GitHub
parent 814a742518
commit 83acfda757
3 changed files with 131 additions and 55 deletions

View File

@@ -138,6 +138,7 @@ async def coap_wrapper(hass):
firmware_version="some fw string",
update=AsyncMock(),
trigger_ota_update=AsyncMock(),
trigger_reboot=AsyncMock(),
initialized=True,
)
@@ -173,6 +174,7 @@ async def rpc_wrapper(hass):
firmware_version="some fw string",
update=AsyncMock(),
trigger_ota_update=AsyncMock(),
trigger_reboot=AsyncMock(),
initialized=True,
shutdown=AsyncMock(),
)