Dustin13725 Posted February 21, 2018 Posted February 21, 2018 I am trying to build an override of a motion sensor. The script works but after it runs the status of the program remains True. How can i get the states to return a False condition after the program runs? Garage On Timer - [ID 0007][Parent 0001] If Control 'Deck Cans' is switched Fast On Then Stop program 'Garage Motion' Wait 30 seconds Set 'Deck Cans' Fast Off Else - No Actions - (To add one, press 'Action')
Sub-Routine Posted February 21, 2018 Posted February 21, 2018 Add this line to your Then clause: Run Program ' Garage On Timer ' (Else Path)
Goose66 Posted February 21, 2018 Posted February 21, 2018 The program status of this program will always be True, because there will never be a time when the IF statement is evaluated as false.
Dustin13725 Posted February 21, 2018 Author Posted February 21, 2018 Yup that makes sense. Works like a champ. Thank you
Recommended Posts