From 5152bf86b59959b85b9662a1fa155588a922f670 Mon Sep 17 00:00:00 2001 From: Bas Nijholt Date: Wed, 1 Jan 2025 12:28:23 -0800 Subject: [PATCH] await hass.async_block_till_done() --- tests/test_config_flow.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/test_config_flow.py b/tests/test_config_flow.py index 1a9e8fbf..fdf17da0 100644 --- a/tests/test_config_flow.py +++ b/tests/test_config_flow.py @@ -128,6 +128,7 @@ async def test_changing_options_when_using_yaml(hass): await hass.config_entries.async_setup(entry.entry_id) result = await hass.config_entries.options.async_init(entry.entry_id) + await hass.async_block_till_done() result = await hass.config_entries.options.async_configure( result["flow_id"], user_input={},