(entity_ids: list[str])
return {split_entity_id(entity_id)[0] for entity_id in entity_ids}
Build a set of domains for the given entity ids.
Build a set of domains for the given entity ids.
Build a set of domains for the given entity ids .
def _domains_set_from_entities(entity_ids: list[str]) -> set[str]:
    """Build a set of domains for the given entity ids."""
    return {split_entity_id(entity_id)[0] for entity_id in entity_ids}
def _domains_set_from_entities ( entity_ids : list [ str ] ) -> set [ str ] : return { split_entity_id ( entity_id ) [ 0 ] for entity_id in entity_ids }