is_day_of_week
Passes when it is one of the given days of the week.
Required arguments
| Key(s) | Description | Type |
|---|---|---|
day \| days | Day names (friday) or numbers from 1 (Monday) to 7 (Sunday). A single value (day) or a list (days). | STRING_LIST |
Example
conditions:
- id: is_day_of_week
args:
day:
- "saturday"
- "sunday"