cancel
Showing results for 
Search instead for 
Did you mean: 
Replies are disabled for this topic. Start a new one or visit our Help Center.

Possible to Enable/Disable Automations

Doyouknowmadmax
Community Member

Hi there,

Is it possible to design an Automation (Through script) to turn off/on other automations (Like arming them) 

Case: On Sunset enable XYZ Automation

So then, when XYZ Automation criterias are met, they will action accordingly

Case: On Sunrise disable XYZ Automation

This way Presence sensing will only turn lights on when arriving home etc

1 Recommended Answer

afuller
Community Member

I think for this you would just need to add a condition to your automation that only allows it to run between certain times,

  condition:
    type: time.between
   
after: SUNSET
   
before: SUNRISE

View Recommended Answer in original post

3 REPLIES 3

afuller
Community Member

I think for this you would just need to add a condition to your automation that only allows it to run between certain times,

  condition:
    type: time.between
   
after: SUNSET
   
before: SUNRISE

Thanks so much! Sounds so simple now haha! 

Muddi
Community Specialist
Community Specialist

Hello Doyouknowmadmax,

 

Happy to hear that @afuller was able to help! It looks like we can consider this one complete, so I will lock the thread shortly unless I can help out with anything else. 
 

Cheers,

MUddi