Update auto-lock-door.smartapp.groovy
authorSeyed Amir Hossein Aqajari <amiraj.95@uci.edu>
Fri, 18 Oct 2019 23:54:58 +0000 (16:54 -0700)
committerGitHub Enterprise <noreply@github.uci.edu>
Fri, 18 Oct 2019 23:54:58 +0000 (16:54 -0700)
third-party/auto-lock-door.smartapp.groovy

index 0961673..eab1cc9 100755 (executable)
@@ -68,7 +68,7 @@ def lockDoor()
        if ((openSensor.latestValue("contact") == "open")) {
         def delay = minutesLater * 60
         log.debug "Door open will try again in $minutesLater minutes"
-        runIn( delay, lockDoor )
+        //runIn( delay, lockDoor )
         }
     }
 }