Dustin13725 Posted February 21, 2018 Share 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') Link to comment
Sub-Routine Posted February 21, 2018 Share Posted February 21, 2018 Add this line to your Then clause: Run Program ' Garage On Timer ' (Else Path) Link to comment
Goose66 Posted February 21, 2018 Share 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. Link to comment
Dustin13725 Posted February 21, 2018 Author Share Posted February 21, 2018 Yup that makes sense. Works like a champ. Thank you Link to comment
Recommended Posts