Fully type homeassistant integration (#107380)
This commit is contained in:
parent
5ae419367e
commit
78752264b3
13 changed files with 65 additions and 49 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue