X-Git-Url: http://plrg.eecs.uci.edu/git/?p=smartthings-infrastructure.git;a=blobdiff_plain;f=Lock%2FLocks.groovy;h=8ebf46b8aff74d91e5777a5bda9c371513866945;hp=ea75ef3e4863611aa4ed92cd989eebd382cf8c96;hb=b5602bde1f6ac15ef1fa8b1d6eceb68708a51ad1;hpb=0c6e63360c2c1dc55705ced3bf5ddabf22f7abed diff --git a/Lock/Locks.groovy b/Lock/Locks.groovy index ea75ef3..8ebf46b 100644 --- a/Lock/Locks.groovy +++ b/Lock/Locks.groovy @@ -25,14 +25,14 @@ public class Locks{ this.deviceNumbers = deviceNumbers this.locks = [] - def init = Verify.getBoolean() + /*def init = Verify.getBoolean() if (init) { this.lockState = "locked" this.lockLatestValue = "locked" } else { this.lockState = "unlocked" this.lockLatestValue = "unlocked" - } + }*/ locks.add(new Lock(sendEvent,id, label, displayName, this.lockState, this.lockLatestValue)) }