-
-
Notifications
You must be signed in to change notification settings - Fork 116
Description
Checklist
- I have filled out the template to the best of my ability.
- This only contains 1 feature request (if you have multiple feature requests, open one feature request for each feature request).
- This issue is not a duplicate feature request of previous feature requests.
Is your feature request related to a problem? Please describe.
I have several devices which update very rapidly (every few seconds) which is much faster than I require. These devices (mainly Temp Humidity meters) include rapidly updating battery sensors, which in turn leads to a rapidly updating Battery+ sensor. I would prefer to reduce the high frequency of updates, as for me, its unnecessary, consumes a (small) amount of resources and adds to the Home Assistant database size.
Describe the solution you'd like
I would like to see an option in HA Battery Notes to allow the updates for the Battery Notes Battery+ sensor to be rate-limited (throttled), i.e. only update every 1 minutes, 5 minutes, 20 minutes, 1 hour etc.
Describe alternatives you've considered
For rapidly (faster than is useful) sensors, if I do not want to retain history, I can exclude the sensor from the Recorder, which reduces the database overhead.
In instances where I want to retain history (which is usually the case for battery level), I can exclude the source sensor from Recorder, and create a Filter Sensor, with a throttled update rate, which will keep its history.
For HA Battery Notes this option does not really work, if I create a rate-limited/throttled version of a battery sensor, this is not a device sensor, so will not be picked up as the source for the Battery+ sensor.
Additional context
Minor functionality in the grand scheme of things, I know, but I do think it would be very useful.