mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 11:17:21 +00:00
Update test_device_cleaning
in Utiltity Meter. (#120161)
This commit is contained in:
parent
61931d15cd
commit
e9515b7584
@ -444,10 +444,12 @@ async def test_setup_and_remove_config_entry(
|
|||||||
assert len(entity_registry.entities) == 0
|
assert len(entity_registry.entities) == 0
|
||||||
|
|
||||||
|
|
||||||
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 Utility Meter."""
|
"""Test for source entity device for Utility Meter."""
|
||||||
device_registry = dr.async_get(hass)
|
|
||||||
entity_registry = er.async_get(hass)
|
|
||||||
|
|
||||||
# Source entity device config entry
|
# Source entity device config entry
|
||||||
source_config_entry = MockConfigEntry()
|
source_config_entry = MockConfigEntry()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user