Time Trigger between certain hours

Hi everyone,

I was wondering if it’s possible to trigger an automation every hour between 4:00 PM and 8:00 PM, for example.

The most efficient method would be to just list the hours…

triggers:
  - trigger: time
    at:
      - "16:00"
      - "17:00"
      - "18:00"
      - "19:00"
      - "20:00"

But, you could also use a Time Pattern trigger, then add a time condition to limit execution to your desired window.

triggers:
  - trigger: time_pattern
    hours: /1
conditions:
  - condition: time
    after: "15:59:00"
    before: "20:01:00"

Thank you for your response.
I have an ‘input_datetime.nacht_alarm’. Is it possible to add 3 times 1 hour to that?