diff --git a/tests/components/deconz/test_init.py b/tests/components/deconz/test_init.py index 58cb7129037..fe364779059 100644 --- a/tests/components/deconz/test_init.py +++ b/tests/components/deconz/test_init.py @@ -175,6 +175,7 @@ async def test_update_group_unique_id( CONF_PORT: "3", }, ) + entry.add_to_hass(hass) # Create entity entry to migrate to new unique ID entity_registry.async_get_or_create(