Move hardware initialisation to package module (#144540)

This commit is contained in:
epenet
2025-05-09 10:55:41 +02:00
committed by GitHub
parent 21e2bbd066
commit b4ae08f83d
5 changed files with 31 additions and 32 deletions

View File

@@ -50,7 +50,7 @@ async def test_system_status_subscription(
return mock_psutil
with patch(
"homeassistant.components.hardware.websocket_api.ha_psutil.PsutilWrapper",
"homeassistant.components.hardware.ha_psutil.PsutilWrapper",
wraps=create_mock_psutil,
):
assert await async_setup_component(hass, DOMAIN, {})