diff --git a/tests/components/locative/test_init.py b/tests/components/locative/test_init.py index b877e6291ac0..f32c4eec9da9 100644 --- a/tests/components/locative/test_init.py +++ b/tests/components/locative/test_init.py @@ -28,7 +28,7 @@ async def locative_client( hass: HomeAssistant, hass_client: ClientSessionGenerator ) -> TestClient: """Locative mock client.""" - assert await async_setup_component(hass, DOMAIN, {DOMAIN: {}}) + assert await async_setup_component(hass, "webhook", {}) await hass.async_block_till_done() with patch("homeassistant.components.device_tracker.legacy.update_config"):