diff --git a/tests/components/alexa/test_smart_home.py b/tests/components/alexa/test_smart_home.py index 0080c9b02b8da..708b06bab2bfc 100644 --- a/tests/components/alexa/test_smart_home.py +++ b/tests/components/alexa/test_smart_home.py @@ -4285,7 +4285,7 @@ async def test_initialize_camera_stream( msg = await smart_home.async_handle_message( hass, get_default_config(hass), request ) - await hass.async_block_till_done() + await hass.async_stop() assert "event" in msg response = msg["event"]