Simple_moving_average not working as expected

Hi!

I have setup a “simple moving average” filter to average the peaks.
Which working great!
See:
grafik
was filtered to:
grafik
(note, the time scale is different, however it really works as you can see in the combined history of both:
grafik

But the problem is here. the window_size is set to 5min (00:05) and now, the “filtered” just stays at a very high value and remains there:
grafik

What is going on here? The filtered remains too high vor about 1h two times, I would expect it to smoothly go down in 5 minute steps, or even jump down within 5 minutes to the lower (and accurate) level.

Any help?

regards
Daniel

Where are you using that filter? in a card somewhere?

the filtered haus power is a sensor platform filter sma of Haus

What is the configuration for your sensor?

The docs say it’s “time_simple_moving_average”, not “simple_moving_average”.

I’ve never used it so I can’t be of much other help. but posting your config is usually the expected procedure when you are asking for help on an issue.