is_hour_between
Passes when the hour is between from and to (inclusive).
Required arguments
| Key(s) | Description | Type |
|---|---|---|
from | The first hour. Hours of the day (0-23); to includes the whole of that hour. | STRING |
to | The 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