Skip to content

Commit ac899af

Browse files
committed
Use rebuild options
1 parent fc4ebd6 commit ac899af

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

aiohasupervisor/homeassistant.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
from .models.homeassistant import (
55
HomeAssistantInfo,
66
HomeAssistantOptions,
7+
HomeAssistantRebuildOptions,
78
HomeAssistantRestartOptions,
89
HomeAssistantStats,
910
HomeAssistantStopOptions,
@@ -54,7 +55,7 @@ async def check_config(self) -> None:
5455
"""Check Home Assistant config."""
5556
await self._client.post("core/check")
5657

57-
async def rebuild(self, options: HomeAssistantRestartOptions | None = None) -> None:
58+
async def rebuild(self, options: HomeAssistantRebuildOptions | None = None) -> None:
5859
"""Rebuild Home Assistant."""
5960
await self._client.post(
6061
"core/rebuild", json=options.to_dict() if options else None

0 commit comments

Comments
 (0)