is_hour

Passes when it is one of the given hours.

Required arguments

Key(s)DescriptionType
hour \| hoursHours of the day (0-23). A single value (hour) or a list (hours).STRING_LIST

Example

conditions:
  - id: is_hour
    args:
      hour:
        - "18"
        - "19"