Filter sensor "window_size"

Hi everyone,
I have implemented a Ultrasonic sensor via MQTT and it’s working, but I’ve noticed that sometimes it jumps around and to “solve” that I ran the sensor through a “Filter Sensor”, which smooths those brief wrong spikes out. I’ve used “Outlier”. It is kinda working, but I think I’m misunderstanding what “window_size” is. I’ve used “1”, but what does that mean exactly?

Is this the amount of seconds, the amount of data “changed” events, minutes? I really have no clue.

Thanks in advance.

Bump. No one?

I believe for outlier the window size is how many previous states it will use to calculate the median to evaluate I the current state is outside the range.