Infrastructure that works for all the locks' group!
[smartthings-infrastructure.git] / Switch / Switches.groovy
index d396b900d05ca2020462c3ec5b1ccdb9b1b171b4..5a4ef48e77bd6bc5b51d0de6b2bbf27e0c082d38 100644 (file)
@@ -25,19 +25,6 @@ public class Switches {
                this.timers = new SimulatedTimer()
                this.deviceNumbers = deviceNumbers
                this.switches = []
-               
-               def initLevel = Verify.getIntFromList(30, 50, 70)
-               this.currentLevel = initLevel
-               def init = Verify.getBoolean()
-               if (init) {
-                       this.switchState = "off"
-                       this.currentSwitch = "off"
-                       this.switchLatestValue = "off"
-               } else {
-                       this.switchState = "on"
-                       this.currentSwitch = "on"
-                       this.switchLatestValue = "on"
-               }
 
                def initLevel = Verify.getIntFromList(30, 50, 70)
                this.currentLevel = initLevel