Remove setup of rpi_power from onboarding (#139168)

* Remove setup of rpi_power from onboarding

* Remove test
This commit is contained in:
Erik Montnemery
2025-02-24 12:33:14 +01:00
committed by GitHub
parent 4d6fd1b10f
commit fc8affd243
3 changed files with 1 additions and 38 deletions
-26
View File
@@ -529,32 +529,6 @@ async def test_onboarding_core_sets_up_radio_browser(
assert len(hass.config_entries.async_entries("radio_browser")) == 1
async def test_onboarding_core_sets_up_rpi_power(
hass: HomeAssistant,
hass_storage: dict[str, Any],
hass_client: ClientSessionGenerator,
aioclient_mock: AiohttpClientMocker,
rpi,
mock_default_integrations,
) -> None:
"""Test that the core step sets up rpi_power on RPi."""
mock_storage(hass_storage, {"done": [const.STEP_USER]})
assert await async_setup_component(hass, "onboarding", {})
await hass.async_block_till_done()
client = await hass_client()
resp = await client.post("/api/onboarding/core_config")
assert resp.status == 200
await hass.async_block_till_done()
rpi_power_state = hass.states.get("binary_sensor.rpi_power_status")
assert rpi_power_state
async def test_onboarding_core_no_rpi_power(
hass: HomeAssistant,
hass_storage: dict[str, Any],