Upgrade pyupgrade to v2.11.0 (#48220)

This commit is contained in:
Franck Nijhof
2021-03-22 13:29:39 +01:00
committed by GitHub
parent 272dffc384
commit dc15f243e6
11 changed files with 12 additions and 12 deletions

View File

@@ -688,7 +688,7 @@ def async_config_entry_disabled_by_changed(
def async_cleanup(
hass: HomeAssistantType,
dev_reg: DeviceRegistry,
ent_reg: "entity_registry.EntityRegistry",
ent_reg: entity_registry.EntityRegistry,
) -> None:
"""Clean up device registry."""
# Find all devices that are referenced by a config_entry.