andrew-codechimp/HA-Battery-Notes
andrew-codechimp/HA-Battery-Notes has 1,202 GitHub stars and 145 forks. Star changes are not measured yet. Last checked 2026-11-09 08:39 UTC. Last push 2026-11-02.
A Home Assistant integration to provide battery details of devices
Measured star growth
- in 24h
- Update delayed
- in 7 days
- Update delayed
- in 15 days
- Update delayed
- in 1 month
- Update delayed
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README.md
OriginalBattery Notes for Home Assistant
Integration to add battery notes to a device or entity, with automatic discovery via a growing battery library for devices.
Track the battery type, when the battery was replaced, when a battery is low based on device or global thresholds and also when a battery hasn't been reported for a while.
The library makes adding battery notes easy, identifying the type of battery when known, but you can also add your own manually.
Dashboard cards usage
A battery+ sensor provides useful attributes for easy use in dashboards, the standard battery can optionally be hidden.
Notifications and automations
Battery low, replaced and not reported are all exposed via triggers, events and actions, using these you can create your own automations to generate notifications or other actions, there are some predefined ones in community.
Please ⭐ this repo on GitHub if you find it useful
If you want to show your support please


Installation
Or search for Battery Notes in Marketplace/HACS and download it.
Restart Home Assistant if using HACS
Add the Battery Notes integration
Or go to Settings -> Devices & Services click "+ Add integration" and search for "Battery Notes"
This will create the main Battery Notes integration service and discovery will start shortly afterwards, or you can add battery notes manually within the settings/integrations/Battery Notes page by using the Add Battery Note button.
Docs
To get full use of the integration, read the documentation. It contains community quick starts as well as details on all the actions, events and entities.
Contributing to the Battery Library
To add a device definition to the battery library so that it will be automatically configured fill out the above form or see the docs for adding via pull request.
Track non-smart batteries
Using my companion integration Fake Devices you can create a device place holder that you can then attach battery notes to, allowing you to note the battery type required and also the date you replaced them. Just ensure you have enabled show all devices within Battery Notes settings for them to be visible.
Translations
To add a new language translation to Battery Notes see here
Third party library usage
The library relies on community contributions, it is open source under the MIT license and available for anyone to use in their project.
Do not have your client access/download the library directly from this repository, please take a copy and distribute that by your own means.
Please credit the use of this library, it takes a lot of effort to maintain this.
Acknowledgements
A lot of the inspiration for this integration came from the excellent PowerCalc by bramstroker, without adapting code from PowerCalc I'd never have worked out how to add additional sensors to a device.
Huge thanks to @bmos for creating the issue form & automations for adding new devices.
Thanks to everyone who has submitted devices to the library.
Explore related projects
codecrafters-io/build-your-own-x
Master programming by recreating your favorite technologies from scratch.
561,590 starspublic-apis/public-apis
A collective list of free APIs
497,908 starsmorluto/rea
Reverse engineer anything with agents, from app behavior down to native binaries.
449,688 starsopenclaw/openclaw
The AI that really does things. Any OS. Any Platform. The lobster way. 🦞
394,301 stars

