If it absolutely requires a very specific battery I’d suggest AAA Lithium as the battery type.
I’d maybe leave out the HomeSeer if it’s an optional battery and let people add it it manually if they use it battery powered as I guess most will prefer the repeater functionality.
If it’s got the same manufacturer/model/battery that’s all good, I wouldn’t be able to cope with something that didn’t have the same battery so would have to leave that out.
I’m happy for submissions to be bundled or separate, go with what you feel comfortable with, those damn commas and brackets throw so many people, including me!
With version 1.3.3 just released you can now track when batteries were replaced.
A manual button and a service are available for you to reset the replaced date.
Thanks, it’s been good to have a week off of work and get to play with this.
Not without hacking away at some horrible hidden file. I don’t think many will go and guess when they put a battery in so went for the easier approach of letting it be set when you next replace a battery.
A lot of people are talking about making automations that detect a device going to 100% battery and setting the replaced via the service automatically.
OK, thanks; I understand. I had started doing some battery tracking in my manual device-by-device documentation. But only had a few change dates so far. I’ll just hit “Set” on them, & let it treat today as last-change date.
I sort of like the idea to set date automatically when battery level goes to 100%. But I’ll continue to set mine manually, as I’ve seen too much flakiness in device battery level reporting.
This is a great custom component. Did you or anyone else come up with a card that can display all the information and allow the battery change date? I would like to add it to my system monitor tab.
Thanks, no card as yet, I don’t use custom cards much myself, I tend to use auto entities a lot to create lists of devices needing attention and have never looked into them, cards are quite a different skill to learn.
It may be something I will explore when I get some free time unless someone else comes up with one.
I have one that I’ve been using for a while. I just need to update it to use some of the new features of this integration and can post it when I get time.
It uses auto-entities and config-template-card. I’ll try and break it out into a single piece of YAML at some point.
The battery type is only shown if there’s a a matching entity for it. My aim will be to have the icon act as the “replace” button with the rest of the cars being more-info.
Screenshot just in case you decide it’s too ugly for you.
If the battery is managed by Battery Notes you will see the battery type in parentheses after the name and the icon tap action will prompt for confirmation that you’ve replaced the battery.
If the battery is not managed by Battery Notes then the card behaves like the normal Tile card (i.e. will display more-info)
You’ll need to dig in to the JSON files that hold the entities in the storage location. Much of that isn’t documented overly well by the Home Assistant team and probably for good reason; bad config could cause issues.
First of all - I pretty much like batterynotes.
I have a question or request.
After last update the names of new devices are not anymore in english even though I have not changed anything in my setup and in my profile I have alected english as language. It seems to me language of browser is used in new releases.
Is there a way to configure or will it be changed in the future and language is derived from user profile ?
I’m just relying on HA’s translation capabilities so this should be standard for all devices, not just Battery Notes.
Can you give me a screenshot of where this is happening?
Thank for following up so fast.
Maybe its a user problem, but I don’t know how to solve. Besides english as language setting for HA I also switched firefox to english on my German Windos desktop. Even in the android app with language set to english I get german names.
Here some info:
This water sensor was installed with the englisch entityname with earlier versions of batterynotes, update with later versions lead to german names for the replacement entities.
I managed to reproduce this by going to Home Assistant Settings → System → General and changing the language there and restarting HA.
It is a bug with Battery Notes, the sensor entity ID’s should be English so button.xxxx_battery_replaced
The actual name displayed against the sensor is the System language, rather than what the user has selected in their profile. This is consistent with other integrations I’ve checked and seems to be an omission within HA’s translation implementation.
I have a fix for the entity id I’m currently testing and will hope to get that out today.