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 8f053b4..5bb1f9c 100755 (executable)
@@ -498,7 +498,7 @@ def takeAction(indice=0) {
                        theVoice.speak(msg)
                }
 
-               if ((tstats) && (openMinutesCount > max_open_time_in_min)) {
+               if ((tstats) /*&& (openMinutesCount > max_open_time_in_min)*/) {
                                                        
                        save_tstats_mode()        
                        tstats.off()