How do I get an automation to fire at the same time on certain days

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

What exactly am I doing wrong, it looks like I have it set correctly but I’m getting a weird error

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.