github andrew-codechimp/HA-Battery-Notes 3.2.0

pre-release11 hours ago

What's Changed

  • Add a new battery percentage template within advanced configuration for a battery note, allowing you to create a battery plus sensor for devices with voltages, binary or textual sensors. If you previously created template helpers for these you can now remove them and add the template directly for easier maintenance. #3552
    The existing battery low template should be considered as legacy, it can still be used if you want more control over when a device is considered low and will not be removed, but the new percentage template will trigger low when it reaches the set threshold so it is not necessary to provide both.
    Example of voltage sensor template with a maximum capacity of 3 volts
    {{ (states('sensor.my_sensor_voltage')|float(0) / 3 * 100) | round(0) }}
    Example of binary low sensor template, returning either 100% or 9%
    {{ 9 if states('binary_sensor.my_sensor_low') == true else 100 }}

  • Move some settings for battery notes into a new advanced section.

  • Add the name of the battery note device at the top of the second step summary when creating new battery notes. #4081

  • Set the last reported when an update is received on devices with only a binary battery low sensor. #3378

  • Updated Greek, German, and Dutch translations via CrowdIn - thanks Thunderstrike116, StringSphere, and Bob Lelieveld

Full Changelog: 3.1.0...3.2.0

Don't miss a new HA-Battery-Notes release

NewReleases is sending notifications on new releases.