Skip to content

add function 'entity_ids' #12

Closed
@basnijholt

Description

@basnijholt

Right now I cannot figure out how to get a list of all defined entities.

Maybe there could be a function

def entity_ids(domain: str = None) -> List[str]:
    """Returns a list of all entity_ids in a domain. If None, all entity_ids are returned."""

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions