We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fc4ebd6 commit ac899afCopy full SHA for ac899af
aiohasupervisor/homeassistant.py
@@ -4,6 +4,7 @@
4
from .models.homeassistant import (
5
HomeAssistantInfo,
6
HomeAssistantOptions,
7
+ HomeAssistantRebuildOptions,
8
HomeAssistantRestartOptions,
9
HomeAssistantStats,
10
HomeAssistantStopOptions,
@@ -54,7 +55,7 @@ async def check_config(self) -> None:
54
55
"""Check Home Assistant config."""
56
await self._client.post("core/check")
57
- async def rebuild(self, options: HomeAssistantRestartOptions | None = None) -> None:
58
+ async def rebuild(self, options: HomeAssistantRebuildOptions | None = None) -> None:
59
"""Rebuild Home Assistant."""
60
await self._client.post(
61
"core/rebuild", json=options.to_dict() if options else None
0 commit comments