I have a simple trick for preventing automations from running if the circumstances require it. If for some reason I don’t want the lights to turn them selves on or off automatically.
To do this I created a dummy-switch that I call STOPP (norwegian for STOP ). Then I add a check in every automation I want this appied to:
AND switch STOPP is OFF
Now when I switch STOPP to ON, the automations that have this check built in will not run.