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

Fix null hass error in supervisor update entities (#129030)

* Fix null hass error in supervisor update entities

* Share the supervisor client with coordinator

* Remove unnecessary patch of helper

* Attribute not property
This commit is contained in:
Mike Degatano
2024-10-24 16:45:35 -04:00
committed by GitHub
parent 6df2c0bab5
commit 5b2113c43d
3 changed files with 5 additions and 22 deletions

View File

@@ -477,10 +477,6 @@ def supervisor_client() -> Generator[AsyncMock]:
"homeassistant.components.hassio.coordinator.get_supervisor_client",
return_value=supervisor_client,
),
patch(
"homeassistant.components.hassio.update.get_supervisor_client",
return_value=supervisor_client,
),
patch(
"homeassistant.components.hassio.get_supervisor_client",
return_value=supervisor_client,