History_stats count is not triggering

Hi
I’ve got a strange issue with history_stats

I assume this is triggered FROM 20:00 (so 8:00 PM) until 11 hours afterwards.However, I see in the logs that the binary sensor is triggered at some point in this time window, but the history statistics were not started (sensor stays “unknown”)

sensor:
- platform: history_stats
  name: Sleep
  unique_id: sleep
  entity_id: binary_sensor.cell_motion_detection
  state: "on"
  type: count
  start: "{{ now().replace(hour=20, minute=0, second=0, microsecond=0) }}"
  duration:
    hours: 11

Am I doing something wrong? The yaml looks OK to me.

When I test “start” into the Template editor the result is: "2023-12-24 20:00:00+01:00"
so this is correct.

When I look up the binary sensor, it reports only states Off and On, so I assume this is correct too.