Skip to content

Commit 298b851

Browse files
committed
bump version, poll locks after code entry
1 parent 759a5ee commit 298b851

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

user-lock-manager.smartapp.groovy

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* User Lock Manager v4.0.9
2+
* User Lock Manager v4.0.10
33
*
44
* Copyright 2015 Erik Thayer
55
*
@@ -1022,6 +1022,8 @@ def usedUserIndex(usedSlot) {
10221022
}
10231023

10241024
def codeUsed(evt) {
1025+
// check the status of the lock, helpful for some schelage locks.
1026+
runIn(10, doPoll)
10251027
if(evt.value == "unlocked" && evt.data) {
10261028
def codeData = new JsonSlurper().parseText(evt.data)
10271029
if(codeData.usedCode && codeData.usedCode.isNumber() && userSlotArray().contains(codeData.usedCode.toInteger())) {

0 commit comments

Comments
 (0)