Skip to content
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

Support entity device and area #144

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

EdLeckert
Copy link
Contributor

Closes #49.

Makes the entity's device name and assigned area name accessible if available. Uses the hass object's entities property to locate this information. Unfortunately, not all entities are listed here for some reason. So even if an entity belongs to a device or is assigned to an area, that information may not be available, though most entities do seem to be in the list. This is mentioned in the update to the docs.

@EdLeckert
Copy link
Contributor Author

Perhaps an example would help:

DeviceAreaList

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

Area of entity
1 participant