Filter integration: Filter - Home Assistant
My issue:
Energy integration requires a total_increasing for ‘total increasing’ values.
Sometimes the solar is unavailable and delivers a 0 in the data
Using the filter integration on it enables me to filter it out.
But it seems like none of the options enable to ignore the 0 value
Outlier enables them to be dropped, but replaces it with the median, Same with Time Simle Moving Average.
Low Pass filter smoothes the values out if they are too random.
But all of these above options ‘destroy’ the total_increasing as the median is always lower than the last value.
Range (upper / lower bound) replaces with a static value
Issue filed in github closed as feature request ( Filter integration missing option? 'ignore value, keep previous' · Issue #59648 · home-assistant/core · GitHub )
Feature request
The option i seem to need is to ignore the value out of bounds and keep the previous value.
Solution would be to set an option in the ‘Range’, ‘Outlier’ or ‘Low Pass’ filter to ignore values outside of the filter and keep previous value.