1
0
mirror of https://github.com/home-assistant/core.git synced 2026-04-27 04:03:49 +01:00

Use aiohasupervisor for all calls from hassio/coordinator (#164413)

Co-authored-by: Stefan Agner <stefan@agner.ch>
This commit is contained in:
Mike Degatano
2026-03-16 20:06:56 -04:00
committed by GitHub
parent 589622c05a
commit 39b44445ec
28 changed files with 1014 additions and 1585 deletions

View File

@@ -359,10 +359,13 @@ async def test_send_usage_with_supervisor(
"healthy": True,
"supported": True,
"arch": "amd64",
"addons": [{"slug": "test_addon"}],
}
),
),
patch(
"homeassistant.components.hassio.get_addons_info",
side_effect=Mock(return_value={"test_addon": {}}),
),
patch(
"homeassistant.components.hassio.get_os_info",
side_effect=Mock(return_value={}),
@@ -578,10 +581,13 @@ async def test_send_statistics_with_supervisor(
"healthy": True,
"supported": True,
"arch": "amd64",
"addons": [{"slug": "test_addon"}],
}
),
),
patch(
"homeassistant.components.hassio.get_addons_info",
side_effect=Mock(return_value={"test_addon": {}}),
),
patch(
"homeassistant.components.hassio.get_os_info",
side_effect=Mock(return_value={}),