Fully type homeassistant integration (#107380)

This commit is contained in:
Marc Mueller 2024-01-08 10:07:30 +01:00 committed by GitHub
parent 5ae419367e
commit 78752264b3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
13 changed files with 65 additions and 49 deletions

View file

@ -520,7 +520,7 @@ def async_extract_referenced_entity_ids(
@bind_hass
async def async_extract_config_entry_ids(
hass: HomeAssistant, service_call: ServiceCall, expand_group: bool = True
) -> set:
) -> set[str]:
"""Extract referenced config entry ids from a service call."""
referenced = async_extract_referenced_entity_ids(hass, service_call, expand_group)
ent_reg = entity_registry.async_get(hass)