From a7fd1c278ce72efb2ebeb7cb523f74fd87588523 Mon Sep 17 00:00:00 2001 From: Shay Levy Date: Sat, 16 Mar 2024 16:18:13 +0200 Subject: [PATCH] Shelly config flow test wait for tasks to finish (#113588) --- tests/components/shelly/test_config_flow.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/components/shelly/test_config_flow.py b/tests/components/shelly/test_config_flow.py index c3c1fc36c2e..1a680bcfc68 100644 --- a/tests/components/shelly/test_config_flow.py +++ b/tests/components/shelly/test_config_flow.py @@ -1092,6 +1092,7 @@ async def test_zeroconf_sleeping_device_not_triggers_refresh( await hass.async_block_till_done() mock_rpc_device.mock_update() + await hass.async_block_till_done() assert "online, resuming setup" in caplog.text