mirror of
https://github.com/home-assistant/core.git
synced 2025-07-21 12:17:07 +00:00
Update test_device_cleaning
in Derivative (#120162)
This commit is contained in:
parent
e9515b7584
commit
02f0050819
@ -62,10 +62,12 @@ async def test_setup_and_remove_config_entry(
|
||||
assert entity_registry.async_get(derivative_entity_id) is None
|
||||
|
||||
|
||||
async def test_device_cleaning(hass: HomeAssistant) -> None:
|
||||
async def test_device_cleaning(
|
||||
hass: HomeAssistant,
|
||||
device_registry: dr.DeviceRegistry,
|
||||
entity_registry: er.EntityRegistry,
|
||||
) -> None:
|
||||
"""Test for source entity device for Derivative."""
|
||||
device_registry = dr.async_get(hass)
|
||||
entity_registry = er.async_get(hass)
|
||||
|
||||
# Source entity device config entry
|
||||
source_config_entry = MockConfigEntry()
|
||||
|
Loading…
x
Reference in New Issue
Block a user