Why cant this be a built in solution in HA maybe included in the energy dashboard?
When we have lots and lots of battery operated devices this is a nightmare.
Also an easy way to enable battery replacement reminder would be even more awesome .
There is a nice blueprint for battery notification sbyx/low-battery-level-detection-notification-for-all-battery-sensors.yaml. Battery states are also visible under “Devices”
I know there are solution to solve this problem but I think HA should be able to handle it out of the box since this is an issue all HA users experience.
@the-mentor I am not sure what you mean by “this” and “battery management”. Are you talking about more than notifications?
A user is able to define an automation to produce notifications quite easily. However, it would be nice if Home Assistant shipped a notification automation out of the box (with the option to be edited or removed by the user upon free choice)
A probably more important argument to add is Interopability and Guidance.
The various integrations implement slightly different battery indicating entities. This is due to the nature of devices and proprietary limitations, but also influenced by developers preference. The provided solutions in previous posts solve the WTH request only for a couple of those options we see in the wild.
The Home Assistant core and developer documentation should provide clear guidelines which battery entity styles are encouraged and how integrations should implement them. This would solve a lot of things and make the necessary automation a lot easier.
Lastly, this might be out of scope but relevant in this context: I would wish ambitions in the direction to equally address unavailable devices, which is just as critical.
I’ve been thinking that it would be great to have a Markdown card in each Device page that lets you add notes, So you could add battery type, manual URL, etc.
WTH to have in the Energy Dashboard a built-in HA solution to include all the battery levels of sensors.
WTH to have in the Repairs section the notification of low battery levels.
This is fundamental for all users of HA.
Having to install a “blueprint” is a workaround for what should be included in the core product.
Some of my devices already have the type and number of batteries listed as attributes on the battery percentage sensor. From a quick glance around my instance it seems to be just ZHA devices reporting this information. I agree it would be great if this was available for all devices.
I use z2m, so yes this would be great for all devices, when you get to <30% you could be reminded that you need 2 cr2032 batteries, check your stock or order more.
On the same topic - here’s one for device manufacturers. Why can’t we have 2 coin cell slots - a primary and a secondary? Tell us when the primary has died and automatically switch over to use the secondary.
Then we just need to swap them over and put in a new secondary within ~1yr. No more outages.
I put the idea I mentioned above into a WTH for adding a Markdown notes card to the device page. A notes card on the device page lets you capture info about batteries and other stuff:
what type does the device take?
Do i have any spares and where are they?
link to the manual for getting the device open without breaking anything