Create repairs for unsupported and unhealthy (#80747)

This commit is contained in:
Mike Degatano
2022-10-31 21:23:08 -04:00
committed by Paulus Schoutsen
parent 0a476baf16
commit 3ddcc637da
14 changed files with 690 additions and 21 deletions
+11 -1
View File
@@ -198,7 +198,17 @@ async def test_access_from_supervisor_ip(
manager: IpBanManager = app[KEY_BAN_MANAGER]
assert await async_setup_component(hass, "hassio", {"hassio": {}})
with patch(
"homeassistant.components.hassio.HassIO.get_resolution_info",
return_value={
"unsupported": [],
"unhealthy": [],
"suggestions": [],
"issues": [],
"checks": [],
},
):
assert await async_setup_component(hass, "hassio", {"hassio": {}})
m_open = mock_open()