Skip to content

Releases: andrew-codechimp/HA-Battery-Notes

1.4.1

17 Jan 08:27
Compare
Choose a tag to compare

What's Changed

  • The config flow for adding/updating battery notes now has separate entry fields for type and quantity.
  • Discovery now occurs every library update, no more restarting HA for new devices to be discovered.
  • Added Polish translation, thanks to @pswid

New documentation pages

Thanks to everyone for the library additions

1.4.0

10 Jan 08:22
Compare
Choose a tag to compare

What's Changed

The battery_type sensor now has attributes breaking out quantity and type separately, your battery types must be in either AA or 2x AA format for this to work. The next release will make this more formal with a specific quantity field when creating new devices.

The set battery replaced service now optionally accepts a date so you can backdate replacements.

1.3.5

03 Jan 14:31
88e17f8
Compare
Choose a tag to compare

What's Changed

  • Lots of code optimisation and general tidying
  • German Translation Updated by @13robin37
  • You can now add submissions to the library via a handy New Device form by @bmos

Breaking Change

There was a bug in previous versions where battery note sensors were created with entity_id's in non-english for those with a HA system language of Slovak, German, Hungarian and Danish. New battery note entity_id's will be created in English as per HA guidelines but existing entities could be incorrect depending on when you added them and you should check/delete/recreate the battery notes for these. This will cause issues if you start using automations/cards based on entity_id. Entity names are still translated. Apologies for this issue.

Thanks to all those who have added devices to the library.

1.3.4

30 Dec 14:32
88eb54d
Compare
Choose a tag to compare

What's Changed

Added option to disable the battery replaced sensors for new devices. If you do not wish to use the replace feature then add this to your configuration.yaml, you will have to manually disable any current devices entities but this allows selective use of the feature. Thanks @ThomDietrich for the suggestion.

battery_notes:
  enable_replaced: False

Added option to ignore a discovered device, thanks @mikedrews for spotting this.

Update Slovak translation, thanks @misa1515

1.3.3

27 Dec 15:44
b0b6ec7
Compare
Choose a tag to compare

What's Changed

Battery Replaced feature
Added a Battery Last Replaced sensor, Battery Replaced button and service. Press the button or call the service when your battery is changed to have the sensor show how long a battery has lasted.

Adding a battery note manually now only shows devices with batteries (see FAQ if you want to change this).

The library can now have battery_type set to MANUAL to stop auto discovery of those pesky devices with different batteries per revision or are mains or battery powered. You can still add the device manually but this will identify them and stop repeated revisions to the library.

Added Hungarian translation, thanks @bekesizl
Added German translation, thanks @P-v-D
Added Danish translation, thanks @Tntdruid

Thanks to everyone who added devices to the library.

1.3.2

27 Dec 11:13
3356767
Compare
Choose a tag to compare
1.3.2 Pre-release
Pre-release

What's Changed

Battery Replaced feature
Added a Battery Last Replaced sensor, Battery Replaced button and service. Press the button or call the service when your battery is changed to have the sensor show how long a battery has lasted.

Adding a battery note manually now only shows devices with batteries (see FAQ if you want to change this).

Added Hungarian translation, thanks @bekesizl
Added German translation, thanks @P-v-D
Added Danish translation, thanks @Tntdruid

Thanks to everyone who added devices to the library.

1.3.1

27 Dec 09:01
01f3b19
Compare
Choose a tag to compare
1.3.1 Pre-release
Pre-release

What's Changed

Battery Replaced feature
Added a Battery Last Replaced sensor, Battery Replaced button and service. Press the button or call the service when your battery is changed to have the sensor show how long a battery has lasted.

Adding a battery note manually now only shows devices with batteries (see FAQ if you want to change this).

Added Hungarian translation, thanks @bekesizl
Added German translation, thanks @P-v-D
Added Danish translation, thanks @Tntdruid

Thanks to everyone who added devices to the library.

1.3.0

26 Dec 13:23
0726151
Compare
Choose a tag to compare
1.3.0 Pre-release
Pre-release

What's Changed

Battery Replaced feature
Added a Battery Last Replaced sensor, Battery Replaced button and service. Press the button or call the service when your battery is changed to have the sensor show how long a battery has lasted.

Adding a battery note manually now only shows devices with batteries (see FAQ if you want to change this).

Added Hungarian translation, thanks @bekesizl
Added German translation, thanks @P-v-D
Added Danish translation, thanks @Tntdruid

Thanks to everyone who added devices to the library.

1.2.0

21 Dec 10:50
770a4e7
Compare
Choose a tag to compare

What's Changed

Auto Library Update, starting with this version the library will be automatically refreshed approximately every 24 hours. No more releases required for new devices, saving upgrades/restarts.

Thanks to @misa1515 for adding Slovak translation.
Thanks to everyone who added devices to the library.

1.1.9

18 Dec 09:58
03a46e2
Compare
Choose a tag to compare

What's Changed

New devices added to the library, thanks to all who contributed.