Help with creating an automation to turn off other automations

I am struggling with trying to creating an automation to turn off/on other automations.

For example I have a number of automations that I want to turn off at 5:00 PM Sunday and automatically turn them back on at 9:00 PM Sunday

Can someone point me in the right direction, or provide an example of what to do ?

Thanks…

Instead of turning it off and on, you could just use time conditions in the automation to prevent it from running during that window.

condition:
  - condition: or
    conditions:
      - condition: time
        weekday:
          - sat
          - fri
          - thu
          - wed
          - tue
          - mon
      - condition: time
        after: "21:00:00"
        before: "17:00:00"
1 Like

I have to many automations to change. I just want one automation that I can add individual other automations to, and turn them off and on at a specific time on Sundays

Actually, you gave me the push to help me out. Got it working now.

scheduler
There is a useful scheduler in HACS for such things