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")