projects
/
smartthings-infrastructure.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
3f6803e
)
bug fix
author
bdemsky
<bdemsky@uci.edu>
Tue, 6 Aug 2019 18:22:09 +0000
(11:22 -0700)
committer
bdemsky
<bdemsky@uci.edu>
Tue, 6 Aug 2019 18:22:09 +0000
(11:22 -0700)
Lock/Locks.groovy
patch
|
blob
|
history
diff --git
a/Lock/Locks.groovy
b/Lock/Locks.groovy
index 8b73dc55ac20e393cd311655c2ddd4f03a2859c9..626b2448690854c9228f8f79e3221100bef18afa 100644
(file)
--- a/
Lock/Locks.groovy
+++ b/
Lock/Locks.groovy
@@
-28,10
+28,12
@@
public class Locks{
def init = Verify.getBoolean()
if (init) {
this.lockState = "locked"
def init = Verify.getBoolean()
if (init) {
this.lockState = "locked"
- this.lockLatestValue = "locked"
+ this.currentLock = "locked"
+ this.lockLatestValue = "locked"
} else {
this.lockState = "unlocked"
} else {
this.lockState = "unlocked"
- this.lockLatestValue = "unlocked"
+ this.currentLock = "unlocked"
+ this.lockLatestValue = "unlocked"
}
locks.add(new Lock(sendEvent,id, label, displayName, this.lockState, this.lockLatestValue))
}
}
locks.add(new Lock(sendEvent,id, label, displayName, this.lockState, this.lockLatestValue))
}