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

Clean up Battery Level & Battery State sensor attributes/classes #1372

Merged
merged 3 commits into from
Jan 15, 2021

Conversation

zacwest
Copy link
Member

@zacwest zacwest commented Jan 14, 2021

Fixes #1311.

Summary

Removes duplicate attributes from both (so they do not refer to each other in attributes) and stops using device_class of battery on the state sensor.

Screenshots

Image
Image 2

Link to pull request in Documentation repository

Documentation: home-assistant/companion.home-assistant#430

Any other notes

Also stops showing the non-user-facing-anywhere-else "unique id" in the sensor detail list, and fixes an empty set of attributes (but non-nil dictionary) showing an empty section.

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

Successfully merging this pull request may close these issues.

untangle battery_level and battery_state sensors
2 participants