I have a (ads) sensor that is listed as an entity in the recorder component.
The sensor has a decimal precision that sometimes changes a lot when the threshold value is about to be reached.
When this happens, the recorder component goes nuts en records a state change every 0.3 seconds.
This results in home assistant crashing or turning really slow.
Is there a possibility that the recorder component only records every X seconds for certain entities?
I’ve already have the scan_interval: set to 10 in the sensor config, but that doesn’t do the trick.
Do you need the history on it? You can exclude it from history.
If you do need the history, exclude the sensor as @silvrr said and then add a a template sensor that uses round() to give the ads sensor sensible precision. This template sensor can be the one with history.
Creating a template sensor for each sensor isn’t something I want to do.
I’ve looked at the code, and it seems that the ads sensor doesn’t have a UPDATE_INTERVAL parameter.
I pushes it’s state every time it detects a change in the value.