I have an automation the fires at 5:30 everyday. How do I set it up to fire at 5:30 but only Mon, Tues, Wed, Thur, Fri
Add this condition block:
conditions:
- condition: time
weekday:
- mon
- tue
- wed
- thu
- fri
1 Like
Your yaml code is not formatted properly - take a look at how @Holdestmade typed it in, especially including the indentation after the line conditions:
conditions:
- condition: time
weekday:
- mon
- tue
- wed
- thu
- fri
Also:
If you want to run the automation only on workdays, take a look at the Workday integration, it can prevent it from running on holidays that take place on weekdays.
And here’s another tip for getting questions looked at quickly and in more detail:
Do not paste screenshots, paste the actual yaml code instead.