Releases: andrew-codechimp/HA-Battery-Notes
Releases · andrew-codechimp/HA-Battery-Notes
2.1.2
What's Changed
- Added optional battery low templates to allow monitoring of a template rather than a battery for unusual devices.
- Added Check battery last reported service to raise events when battery's have not been seen.
- Added Battery not reported event, triggered by the check battery last reported service, allowing you to create automations based on it.
- Added example automations and blueprints for the new service/event in the community docs
- Added device_id to Battery+ attributes to allow easy scripting.
2.1.1
What's Changed
- Added optional battery low templates to allow monitoring of a template rather than a battery for unusual devices.
- Added Check battery last reported service to raise events when battery's have not been seen.
- Added Battery not reported event, triggered by the check battery last reported service, allowing you to create automations based on it.
- Added example automations and blueprints for the new service/event in the community docs
- Added device_id to Battery+ attributes to allow easy scripting.
2.1.0
What's Changed
- Added optional battery low templates to allow monitoring of a template rather than a battery for unusual devices.
- Added Check battery last reported service to raise events when battery's have not been seen.
- Added Battery not reported event, triggered by the check battery last reported service, allowing you to create automations based on it.
- Added example automations and blueprints for the new service/event in the community docs
2.0.16
What's Changed
- Finnish translation provided by @Dis90
- Greek translation provided by @Thunderstrike116
- Russian translation provided by @LordArrin
- Fix timezone issue with last_reported attribute, thanks @danielbrunt57 for reporting this
- Fix issue with Battery+ friendly name overriding, thanks @simenopsahl for reporting this
- Last Reported attributes are now retained through restarts
- Change battery type to proper multiplier symbol, thanks @bartkummel for the contribution
- Fix rounding issue
2.0.15
What's Changed
- Finnish translation provided by @Dis90
- Greek translation provided by @Thunderstrike116
- Russian translation provided by @LordArrin
- Fix timezone issue with last_reported attribute, thanks @danielbrunt57 for reporting this
- Fix issue with Battery+ friendly name overriding, thanks @simenopsahl for reporting this
- Last Reported attributes are now retained through restarts
- Change battery type to proper multiplier symbol, thanks @bartkummel for the contribution
2.0.14
What's Changed
- Finnish translation provided by @Dis90
- Greek translation provided by @Thunderstrike116
- Russian translation provided by @LordArrin
- Fix timezone issue with last_reported attribute, thanks @danielbrunt57 for reporting this
- Fix issue with Battery+ friendly name overriding, thanks @simenopsahl for reporting this
- Last Reported attributes are now retained through restarts
2.0.12
What's Changed
- Added Crowdin Translations, see here for more details
- 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.
- Handle battery entity_id renaming.
- Fix errors being logged when a device is removed but remains in Battery Notes.
- Improve new device form performance - thanks @bmos
2.0.11
What's Changed
- Handle battery entity_id renaming
2.0.10
What's Changed
- 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.
- Improve new device form performance - thanks @bmos
2.0.9
What's Changed
-
A new configuration setting to round battery+ percentages to whole numbers.
-
Change the device_class of battery_low sensor to battery to provide colour & low/normal labels.
-
Add a service icon (HA 2024.2)
-
Urdu translation by @yousaf465
-
French translation by @pbranly
Thanks to all who contributed to the library.
🚀 Recent New Features
- A new Battery Plus sensor, it echo's the normal battery but has additional attributes from Battery Notes to make it easier to use in the ui and automations, you can optionally hide the original battery with a configuration setting.
- A Battery Low binary sensor, it uses a global default threshold (10%, changeable in configuration) to indicate when a battery is low, you can also manually configure a device in battery notes and set a specific threshold for each device.
- A Battery Threshold event which is fired when the battery goes low, or returns high. Useful for notification automations.
- A Battery Increased event which is fired when a battery increases by a certain percentage (25%, changeable in configuration). Useful for battery replaced automations.
- Improvements to the json schema validation when editing within HA custom components folder, thanks @heyrichard17
Read the docs for how to get the most from these new features
Community Examples
Entities
Events
Configuration