Skip to content

Commit 2c3cb50

Browse files
committed
Add all models to init all
1 parent 55d7274 commit 2c3cb50

File tree

2 files changed

+29
-1
lines changed

2 files changed

+29
-1
lines changed

aiohasupervisor/models/__init__.py

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,21 @@
3232
HomeAssistantStopOptions,
3333
HomeAssistantUpdateOptions,
3434
)
35+
from aiohasupervisor.models.os import (
36+
BootSlot,
37+
BootSlotName,
38+
DataDisk,
39+
DataDiskList,
40+
GreenInfo,
41+
GreenOptions,
42+
MigrateDataOptions,
43+
OSInfo,
44+
OSUpdate,
45+
RaucState,
46+
SetBootSlotOptions,
47+
YellowInfo,
48+
YellowOptions,
49+
)
3550
from aiohasupervisor.models.resolution import (
3651
Check,
3752
CheckOptions,
@@ -112,4 +127,17 @@
112127
"HomeAssistantStats",
113128
"HomeAssistantStopOptions",
114129
"HomeAssistantUpdateOptions",
130+
"RaucState",
131+
"BootSlotName",
132+
"BootSlot",
133+
"OSInfo",
134+
"OSUpdate",
135+
"MigrateDataOptions",
136+
"DataDisk",
137+
"DataDiskList",
138+
"SetBootSlotOptions",
139+
"GreenInfo",
140+
"GreenOptions",
141+
"YellowInfo",
142+
"YellowOptions",
115143
]

tests/test_os.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
from yarl import URL
55

66
from aiohasupervisor import SupervisorClient
7-
from aiohasupervisor.models.os import (
7+
from aiohasupervisor.models import (
88
BootSlotName,
99
GreenOptions,
1010
MigrateDataOptions,

0 commit comments

Comments
 (0)