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

Battery fixes #911

Merged
merged 21 commits into from
Feb 7, 2024
Merged

Battery fixes #911

merged 21 commits into from
Feb 7, 2024

Conversation

andrew-codechimp
Copy link
Owner

  • Added battery_last_reported and battery_last_reported_level attributes to Battery+, useful for automations/dashboards looking at unavailable devices.
  • Change binarysensor.[device]_battery_low default entity name to binarysensor.[device]_battery_plus_low to distinguish from devices with battery_low.
  • Fixed battery_notes_battery_increased event not firing in certain circumstances.
  • Fix entity_id naming where a device has a friendly name set.

@andrew-codechimp andrew-codechimp linked an issue Feb 7, 2024 that may be closed by this pull request
6 tasks
@andrew-codechimp andrew-codechimp merged commit ed95c88 into main Feb 7, 2024
3 checks passed
@andrew-codechimp andrew-codechimp linked an issue Feb 7, 2024 that may be closed by this pull request
6 tasks
@andrew-codechimp andrew-codechimp deleted the battery-fixes branch February 7, 2024 08:57
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 this pull request may close these issues.

entity_id's don't take device name but manufacturer/model name Battery Low binary sensor
1 participant