In the new app automations I was referring to the IF statements that are available. I have things setup to only run the chicken door open scene if the door contact sensor is closed and to only run the close scene if the door contact sensor is open. Using the old Smart Lighting app those IF conditions weren’t available so if I had manually closed the chicken door early (turning the Smartswitch on that the chicken door motor is plugged into), like I did tonight, the old Smart Lighting rule would have come along and turned on the chicken door switch at 40 minutes after sunset with no awareness of the contact sensor status, this opening the door. Not good when Mr. Fox has been hanging around the chicken yard lately.
I should mention that I have a modified smartapp installed that automatically turns off power to the Chicken Door Smartswitch after something like 12-15 seconds. If I didn’t have this I’d have to have an action in each scene or automation to turn the switch off otherwise it would stay powered on and every time you wanted to open or close the door you’d first have to turn the switch off.
I also have a SmartThings button inside the barn on the wall that I can push that has a Smart Lighting rule to turn on the Chicken Door Smartswitch whenever its pressed.
I also created routines in Alexa to open/close the chicken door controlling the Smartswitch.