From e9a0436605b8058e26d5099b784c1caaa70e92ac Mon Sep 17 00:00:00 2001 From: Erik Montnemery Date: Thu, 10 Aug 2023 18:23:41 +0200 Subject: [PATCH] Adjust matter tests which create devices (#98198) --- tests/components/matter/test_helpers.py | 1 + 1 file changed, 1 insertion(+) 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")},