mirror of
https://github.com/home-assistant/core.git
synced 2025-07-15 17:27:10 +00:00
Adjust mikrotik tests which create devices (#98200)
This commit is contained in:
parent
9831498259
commit
bd4d1abc28
@ -35,6 +35,7 @@ def mock_device_registry_devices(hass: HomeAssistant) -> None:
|
||||
"""Create device registry devices so the device tracker entities are enabled."""
|
||||
dev_reg = dr.async_get(hass)
|
||||
config_entry = MockConfigEntry(domain="something_else")
|
||||
config_entry.add_to_hass(hass)
|
||||
|
||||
for idx, device in enumerate(
|
||||
(
|
||||
|
Loading…
x
Reference in New Issue
Block a user