Fixing bugs in infra
[smartthings-infrastructure.git] / Lock / Locks.groovy
index d65e3f6033c2127bfc72ac9838766844133d3575..381bf2a44f4c1f4f9ccbb1d56d8dacffe2526adf 100644 (file)
@@ -2,12 +2,12 @@
 package Lock
 import SmartThing.SmartThings
 
-public class Locks extends SmartThing {
+public class Locks extends SmartThings {
        List locks = new ArrayList()
 
        Locks(Closure sendEvent, boolean init) {
                // Only initialize one time since we only have one device for each capability
-               thermostats = smartThings
+               locks = smartThings
 
                // Initialization
                StringBuilder id = new StringBuilder("lockID0")