Hi all,
I'm trying to create my first automation in the Shortcuts application and I'm just trying to figure out how to program it.
I have a water pump at a HomeKit outlet that I want to turn on when the bathroom lights turn on. We have two bathrooms - upstairs and upstairs - and I want the water pump to turn off only if both sets of lights are off.
In my mind, this is how it looks:
If bath A and bath B are switched off, turn off the water pump
Or
If bath A is stopped, turn off the water pump, if bath B is not activated
The problem is that I do not know how to structure "and" or "if not" in short. I can use it only if it is otherwise. Also, I want this shortcut to work automatically. Could someone please advise you if this is a solution and how to do it?
HomeKit.Blog is in no way affiliated with or endorsed by Apple Inc. or Apple related subsidiaries.
All images, videos and logos are the copyright of the respective rights holders, and this website does not claim ownership or copyright of the aforementioned.
All information about products mentioned on this site has been collected in good faith. However, the information relating to them, may not be 100% accurate, as we only rely on the information we are able to gather from the companies themselves or the resellers who stock these products, and therefore cannot be held responsible for any inaccuracies arising from the aforementioned sources, or any subsequent changes that are made that we have not been made aware of.
HomeKit.Blog Is A Participant In The Amazon Services LLC Associates Program, An Affiliate Advertising Program Designed To Provide A Means For Sites To Earn Advertising Fees By Advertising And Linking To Amazon Store (Amazon.com, Or Endless.com, MYHABIT.com, SmallParts.com, Or AmazonWireless.com).
The opinions expressed on this website by our contributors do not necessarily represent the views of the website owners.