Why statistics so flaky?

I am trying to add a statistics helper to keep track of the lowest value of a sensor in the last day.
I have added the following sensor but it is too flaky, meaning it just jumps back up to the highest value.
The sensor this analytics helper is tracking is generally having 2 value changes each day.

sensors.yml:

- platform: statistics
  name: "Min electricity tarif last 24 hours"
  entity_id: sensor.smart_meter_electricity_import_unit_rate
  unique_id: 10003
  state_characteristic: value_min
  precision: 4
  max_age:
    hours: 24

The sensor. looks like this over each day

And at random times, the sensor the yml above creates will jump from the min (0.09) to the max value (0.34) and there is no indication as to WHY.

Here is how this created sensor looks like

Even if I manually set it back to 0.09 it jumps back up to 0.34 after a few seconds

Not sure why that happens - I’ve set up a bunch of min and max sensors in my confguration.yaml file like this and they’re rock solid:

template:
  - trigger:
      - platform: time
        at: '00:00:00'
      - platform: state
        entity_id: sensor.temp
    sensor:
      - name: 'Daily Min Temp'
        unique_id: 'daily_min_temp'
        unit_of_measurement: '°F'
        state_class: measurement
        device_class: temperature
        state: >
          {% set t_new = states('sensor.temp') | float(0) %}
          {{ [t_new, this.state | float(0)] | min if trigger.platform != 'time' else t_new }}