Adjust kraken tests which create devices (#98197)

This commit is contained in:
Erik Montnemery 2023-08-10 18:23:37 +02:00 committed by GitHub
parent 3e6c844048
commit 3495d762a4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -248,6 +248,7 @@ async def test_sensors_available_after_restart(hass: HomeAssistant) -> None:
CONF_TRACKED_ASSET_PAIRS: [DEFAULT_TRACKED_ASSET_PAIR],
},
)
entry.add_to_hass(hass)
device_registry = dr.async_get(hass)
device_registry.async_get_or_create(