mirror of
https://github.com/home-assistant/core.git
synced 2025-04-22 16:27:56 +00:00
Adjust threshold tests which create devices (#98208)
This commit is contained in:
parent
6ea7011a07
commit
8813140ed5
@ -597,6 +597,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")},
|
||||
|
Loading…
x
Reference in New Issue
Block a user