Question about "time_pattern" trigger

Hi,
based on this configuration:

trigger:
  - platform: time_pattern
    minutes: /45

every hour at “xx:45” this trigger should fire. It does, but in addition the same script ist fired every “xx:00” . So this automation runs twice an hour, and should only once. Bug or feature?

Bildschirmfoto 2022-11-23 um 19.04.12

Regards,
Peter

No, the trigger you have triggers whenever the minutes divided by 45 remainder is zero. So at 45 and 00.

If you only want it to match 45 remove the /.

trigger:
  - platform: time_pattern
    minutes: 45

e.g.

/15 Triggers at 0, 15, 30 and 45 minutes.

15 triggers at 15 minutes.

1 Like