Outlier Filter Sensor not catching outliers (sometimes)

Hi,

I have an issue with the outlier filter not catching outliers, it seems to work as expected most of the time, but then every now and then it misses one. It hasn’t happened often enough to be sure, but it feels like it mostly happens with very extreme ones. The first graph is the filtered sensor, the second one is the unfiltered one.


This is my configuration for the filter sensor:

- platform: filter
  name: "Living Temp"
  entity_id: sensor.living_temp_raw
  filters:
    - filter: outlier
      window_size: 10
      radius: 10.0

All temperature points before the outlier were between 73 and 71.8 degF and my configuration should have caught a temperature of -32,768 degF as outlier instead of accepting it and even replacing the next correct ones with the wrong number too.

Is that a bug or am I doing something wrong?