Skip to content

Commit 093e581

Browse files
committed
Add boot_config and enum with new manual_forced
1 parent 3ab1add commit 093e581

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

aiohasupervisor/models/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
from aiohasupervisor.models.addons import (
44
AddonBoot,
5+
AddonBootConfig,
56
AddonsConfigValidate,
67
AddonsOptions,
78
AddonsSecurityOptions,
@@ -42,6 +43,7 @@
4243
"AvailableUpdate",
4344
"AddonStage",
4445
"AddonBoot",
46+
"AddonBootConfig",
4547
"CpuArch",
4648
"Capability",
4749
"AppArmor",

aiohasupervisor/models/addons.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,14 @@ class AddonStage(StrEnum):
2020
DEPRECATED = "deprecated"
2121

2222

23+
class AddonBootConfig(StrEnum):
24+
"""AddonBootConfig type."""
25+
26+
AUTO = "auto"
27+
MANUAL = "manual"
28+
MANUAL_FORCED = "manual_forced"
29+
30+
2331
class AddonBoot(StrEnum):
2432
"""AddonBoot type."""
2533

@@ -197,6 +205,7 @@ class InstalledAddonComplete(
197205
dns: list[str]
198206
protected: bool
199207
boot: AddonBoot
208+
boot_config: AddonBootConfig
200209
options: dict[str, Any]
201210
schema: list[dict[str, Any]] | None
202211
machine: list[str]

0 commit comments

Comments
 (0)