Version 2 sneak peak #570
Replies: 12 comments 93 replies
-
Amazing! Looking forward to this :) May I suggest to keep all additional entities as an option? For the "last replaced" we agreed on a configuration option, however, thinking about it, these could also just be disabled by default. |
Beta Was this translation helpful? Give feedback.
-
Awesome progress! |
Beta Was this translation helpful? Give feedback.
-
Awesome. Amazing. Is it still time to add wishes to the list? If yes, I would appreciate to have an in-built automation that detects a battery change by e.g. an increase of the SOC (state of charge) aka battery state. The increase of SOC would be ideally configurable as an attribute or entity of the battery note. |
Beta Was this translation helpful? Give feedback.
-
I started working on tracking battery replacement dates not long before recently discovering this integration. I was using a variable I created using the Variables+History HACS integration and here is the automation I was testing:
You may find it useful! |
Beta Was this translation helpful? Give feedback.
-
While thinking about an automation to trigger an automatic battery replaced date, I've been trying to figure out how to programatically determine if the battery sensor triggering the automation is part of the Battery Notes integration, then find that device and the matching button sensor. But In Refererence: How to enumerate entities belong to an integration? Petro presented this template but when I execute it, I do not see anything looking like
Any ideas? |
Beta Was this translation helpful? Give feedback.
-
I'm guessing a log error, probably not a pretty one 😄 |
Beta Was this translation helpful? Give feedback.
-
Version 2.0 has just been released in beta and will probably stay there for a few weeks as this is a big lot of changes. Thanks to those who've contributed to shaping these features, I hope I'll please at least most with the options available. If you want to try this you will have to go into HACS/Battery Notes/Redownload and switch on Betas to see version 2 🚀 New Features
Read the docs for how to get the most from these new features |
Beta Was this translation helpful? Give feedback.
-
Have I mentioned yet that this new integration is "the greatest thing since slided bread!" for battery devices in HA?? I've purged my system of the very old and unmaintained Battery Alert Package by NotoriousBDG as I now have something vastly superior and as good as if not better than HomeSeer's SDJ-Health Plug-in which I used up until 3 years ago when I switched to HA. |
Beta Was this translation helpful? Give feedback.
-
Here's an interesting one for you! |
Beta Was this translation helpful? Give feedback.
-
What I would love to achieve is the equivalent of the HS3 SDJ-Health plug-in's primary function which is:
Now that you have the last_reported timestamp saved, if we could add a user configurable parameter "should report every xx days" (with an appropriate overall configurable number, or no alerting if unconfigured) then you might be able to raise an alert (i.e. trigger an event) that the device has not reported in on time. What do you think? |
Beta Was this translation helpful? Give feedback.
-
My latest custom card handiwork... |
Beta Was this translation helpful? Give feedback.
-
Thought I'd share a sneak peak of what will be version 2, which adds some big enhancements that have been mentioned in various discussions.
Still in very early dev so lots to test/fix/tidy but I have the basics working.
A new battery entity that echo's the real battery but adds all the attributes of Battery Notes, making it easier to create dashboard cards/templates/automations that cross between the battery and note entities.
A threshold, globally defaulted in the configuration.yaml, if omitted set to 10%, but overridden per device which sets a binary_sensor.battery_low entity true/false based on the threshold.
Still thinking about echo'd battery default name and whether to auto hide the existing battery, much like the stock "Change device type of switch" helper does.
Beta Was this translation helpful? Give feedback.
All reactions