diff --git a/tests/components/conversation/test_default_agent_intents.py b/tests/components/conversation/test_default_agent_intents.py index 011aefe83223..621064293755 100644 --- a/tests/components/conversation/test_default_agent_intents.py +++ b/tests/components/conversation/test_default_agent_intents.py @@ -448,6 +448,8 @@ async def test_todo_add_item_fr( ) -> None: """Test that wildcard matches prioritize results with more literal text matched.""" assert await async_setup_component(hass, todo.DOMAIN, {}) + # The todo intent handlers are registered by a background task + await hass.async_block_till_done() hass.states.async_set("todo.liste_des_courses", 0, {}) with (