Adjust matter tests which create devices (#98198)

pull/97823/head^2
Erik Montnemery 2023-08-10 18:23:41 +02:00 committed by GitHub
parent 3495d762a4
commit e9a0436605
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -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")},