From: Seyed Amir Hossein Aqajari Date: Sat, 16 Nov 2019 00:47:51 +0000 (-0800) Subject: Update NotifyIfLeftUnlocked.groovy X-Git-Url: http://plrg.eecs.uci.edu/git/?p=smartapps.git;a=commitdiff_plain;h=a67dc3eb0454798e080e038bc7cb9197e3d2a400 Update NotifyIfLeftUnlocked.groovy --- diff --git a/third-party/NotifyIfLeftUnlocked.groovy b/third-party/NotifyIfLeftUnlocked.groovy index 86096f4..e3f67a5 100755 --- a/third-party/NotifyIfLeftUnlocked.groovy +++ b/third-party/NotifyIfLeftUnlocked.groovy @@ -89,7 +89,7 @@ def notifyUnlocked() if (state.retries++ < 3) { log.trace "Door is open, can't lock. Rescheduling the check." sendMessage("Can't lock the ${aLock.displayName} because the door is open. Will try again in ${duration} minutes.") - runIn(duration * 60, notifyUnlocked) + //runIn(duration * 60, notifyUnlocked) } else { log.trace "The door is still open after ${state.retries} retries, giving up."