Update WindowOrDoorOpen.groovy
authorSeyed Amir Hossein Aqajari <amiraj.95@uci.edu>
Fri, 28 Feb 2020 20:09:53 +0000 (12:09 -0800)
committerGitHub Enterprise <noreply@github.uci.edu>
Fri, 28 Feb 2020 20:09:53 +0000 (12:09 -0800)
third-party/WindowOrDoorOpen.groovy

index 8f053b49d73486a4ab845860c9fffeb77bcbfeb0..5bb1f9c0aec3827968d925b501a2dd8ab0b32f90 100755 (executable)
@@ -498,7 +498,7 @@ def takeAction(indice=0) {
                        theVoice.speak(msg)
                }
 
                        theVoice.speak(msg)
                }
 
-               if ((tstats) && (openMinutesCount > max_open_time_in_min)) {
+               if ((tstats) /*&& (openMinutesCount > max_open_time_in_min)*/) {
                                                        
                        save_tstats_mode()        
                        tstats.off()
                                                        
                        save_tstats_mode()        
                        tstats.off()