I’ve been using a filter helper but apparently that didn’t work.
I was using a filter window of 3 radius of 100. I’ve now changed it to 10 and 10 respectively:
There are no filters that retroactively alter previously recorded states.Also you have to be careful with the outlier filter, especially if the erroneous values occur after a HA restart. The filter will initially record the outlier as the baseline to compare new values to.
Which integration is providing this entity?
Is it a template sensor or something that uses a value template?
It would be better to get the data fixed at the source.
So it’s a Zigbee power meter socket with Zigbee2MQTT. Sometimes it happens when the device is powered but mostly randomly.
I’m now just waiting with a larger window size and smaller radius
I was really hoping for a way to apply the filter to past data so I could just swap entity in the home energy dashboard.