X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=third-party%2FNotifyIfLeftUnlocked.groovy;fp=third-party%2FNotifyIfLeftUnlocked.groovy;h=e3f67a5a3ebaa327952ac9bcaf8cc819d9d84579;hb=a67dc3eb0454798e080e038bc7cb9197e3d2a400;hp=86096f4d96e07b491e68e5d660c2505e2a699116;hpb=566ab4095c6ad234ff9cc1a89173e271a3446a1a;p=smartapps.git 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."