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 1527019 commit 64bae18Copy full SHA for 64bae18
aiohasupervisor/models/supervisor.py
@@ -25,6 +25,7 @@ class SupervisorInfo(ResponseData):
25
debug_block: bool
26
diagnostics: bool | None
27
auto_update: bool
28
+ country: str | None
29
30
31
@dataclass(frozen=True, slots=True)
tests/fixtures/supervisor_info.json
@@ -15,6 +15,7 @@
15
"debug_block": false,
16
"diagnostics": false,
17
"auto_update": true,
18
+ "country": null,
19
"wait_boot": 5,
20
"addons": [
21
{
tests/test_supervisor.py
@@ -42,6 +42,7 @@ async def test_supervisor_info(
42
assert info.healthy is True
43
assert info.logging == "info"
44
assert info.ip_address == IPv4Address("172.30.32.2")
45
+ assert info.country is None
46
47
48
async def test_supervisor_stats(
0 commit comments