Hi!
I’m displaying solar battery charge/discharge power in an Apexchart and need to filter the data.
My first attempt was to filter in the Apexchart config, but I can’t find any solution.
Second attempt is to make a sensor-filter, and that makes a nice graph.
But when incoming data goes to zero (and no new readings) the filter stops at current value and never reach zero.
Have tested low pass filter with the same result.
- platform: filter
name: battery_charge_discharge_power_filtered
entity_id: sensor.battery_charge_discharge_power
filters:
- filter: time_simple_moving_average
window_size: "00:05"
Is there any solution to this problem or any other way to filter data?
Thanks
Lars