mirror of
https://github.com/home-assistant/core.git
synced 2026-10-10 11:43:39 +01:00
Adjust integration tests which create devices (#98196)
This commit is contained in:
1 parent
07b19b3dd9
commit
3e6c844048
1 file changed
+1
@@ -685,6 +685,7 @@ async def test_device_id(hass: HomeAssistant) -> None:
|
||||
entity_registry = er.async_get(hass)
|
||||
|
||||
source_config_entry = MockConfigEntry()
|
||||
source_config_entry.add_to_hass(hass)
|
||||
source_device_entry = device_registry.async_get_or_create(
|
||||
config_entry_id=source_config_entry.entry_id,
|
||||
identifiers={("sensor", "identifier_test")},
|
||||
|
||||
Reference in new issue
Block a user