Anyone know why this automation triggered twice within a 60 seconds?

  - alias: 'remind about payment'
    trigger:
      - platform: time_pattern
        minutes: "/59"
    condition:
      - condition: time
        after: '09:00:30'
        before: '17:30:00'

Screenshot 2023-05-03 at 10.04.39

I expected the trigger at 09:59 but surprised it triggered again at 10:00?

thanks!

P.S the version of HA is 2023.3.3 so not exactly ancient!

59 and 0 are both divisible by 59.

I think you simply want:

    minutes: 59

to trigger at xx:59 each hour.

1 Like

wow, thanks, this I did not know!