Skip to content

Commit c4ca867

Browse files
authored
Add machine ID to Supervisor root info (#127)
* Add machine ID to Supervisor root info * Fix pytest
1 parent cb9e00f commit c4ca867

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

aiohasupervisor/models/root.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@ class RootInfo(ResponseData):
8686
operating_system: str | None
8787
features: list[HostFeature | str]
8888
machine: str | None
89+
machine_id: str | None
8990
arch: str
9091
state: SupervisorState
9192
supported_arch: list[str]

tests/fixtures/root_info.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
"not_real"
2424
],
2525
"machine": "odroid-n2",
26+
"machine_id": "2403f24a7b9840c0a6c63ae9357948e8",
2627
"arch": "aarch64",
2728
"state": "running",
2829
"supported_arch": ["aarch64", "armv7", "armhf"],

0 commit comments

Comments
 (0)