From 2b4e08731f1cd09c6cef0f20f337b927954e101b Mon Sep 17 00:00:00 2001 From: Franck Nijhof Date: Sun, 30 Aug 2026 13:01:55 +0200 Subject: [PATCH] Split the Sky Remote user flow init from its data (#180772) --- tests/components/sky_remote/test_config_flow.py | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/tests/components/sky_remote/test_config_flow.py b/tests/components/sky_remote/test_config_flow.py index 14b9ad1fe2d6..764baf955185 100644 --- a/tests/components/sky_remote/test_config_flow.py +++ b/tests/components/sky_remote/test_config_flow.py @@ -43,9 +43,15 @@ async def test_device_exists_abort( mock_config_entry.add_to_hass(hass) result = await hass.config_entries.flow.async_init( - DOMAIN, - context={"source": SOURCE_USER}, - data={CONF_HOST: mock_config_entry.data[CONF_HOST]}, + DOMAIN, context={"source": SOURCE_USER} + ) + + assert result["type"] is FlowResultType.FORM + assert result["step_id"] == "user" + + result = await hass.config_entries.flow.async_configure( + result["flow_id"], + user_input={CONF_HOST: mock_config_entry.data[CONF_HOST]}, ) assert result["type"] is FlowResultType.ABORT