Skip to content

add function 'entity_ids' #12

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
basnijholt opened this issue Sep 2, 2020 · 1 comment · Fixed by #13
Closed

add function 'entity_ids' #12

basnijholt opened this issue Sep 2, 2020 · 1 comment · Fixed by #13

Comments

@basnijholt
Copy link
Contributor

basnijholt commented Sep 2, 2020

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."""
@craigbarratt
Copy link
Member

This is related to issue #9. We should come up with a consistent way to address the state-related issues.

@basnijholt basnijholt changed the title add function 'states' add function 'entity_ids' Sep 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants