diff --git a/tests/components/matter/test_helpers.py b/tests/components/matter/test_helpers.py index 28f4479432c..36761362618 100644 --- a/tests/components/matter/test_helpers.py +++ b/tests/components/matter/test_helpers.py @@ -43,6 +43,7 @@ async def test_get_node_from_device_entry( device_registry = dr.async_get(hass) other_domain = "other_domain" other_config_entry = MockConfigEntry(domain=other_domain) + other_config_entry.add_to_hass(hass) other_device_entry = device_registry.async_get_or_create( config_entry_id=other_config_entry.entry_id, identifiers={(other_domain, "1234")},