is_time_between
Passes when the time is between from and to (inclusive).
Required arguments
| Key(s) | Description | Type |
|---|---|---|
from | The first time. Times as HH:MM (24 hour); to includes the whole of that minute. | STRING |
to | The last time. Times as HH:MM (24 hour); to includes the whole of that minute. | STRING |
Example
conditions:
- id: is_time_between
args:
from: 21:30
to: 06:00