cancel
Showing results for 
Search instead for 
Did you mean: 

Is there a way to "and" all of my starters in script editor?

salbando
Community Member

I know that by default, an automation executes if any of the starters are true (logical "Or"). I have a simple automation that I would like to execute only if both of my starters are true (logical "And"). Actually, what I really need is for one to be true and the other must be false. I have a camera that I want to turn on a switch when it detects an animal, but only when that animal is not a dog. My situation is that I have made a device to turn on my sprinklers to deter deer from my yard, but I don't want them triggering when my dog goes out.

0 REPLIES 0