is_hour_between

Passes when the hour is between from and to (inclusive).

Required arguments

Key(s)DescriptionType
fromThe first hour. Hours of the day (0-23); to includes the whole of that hour.STRING
toThe last hour. Hours of the day (0-23); to includes the whole of that hour.STRING

Example

conditions:
  - id: is_hour_between
    args:
      from: 22
      to: 4