Adjust asuswrt tests which create devices (#98182)

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

View File

@ -95,6 +95,7 @@ def create_device_registry_devices_fixture(hass: HomeAssistant):
"""Create device registry devices so the device tracker entities are enabled when added."""
dev_reg = dr.async_get(hass)
config_entry = MockConfigEntry(domain="something_else")
config_entry.add_to_hass(hass)
for idx, device in enumerate(
(