Commenting out the Verify API calls in the object instantiation to avoid state explos...
[smartthings-infrastructure.git] / Switch / Switches.groovy
index 5a4ef48e77bd6bc5b51d0de6b2bbf27e0c082d38..8c57869b54aadf78c3271ebc78409fc401f18cdf 100644 (file)
@@ -26,7 +26,7 @@ public class Switches {
                this.deviceNumbers = deviceNumbers
                this.switches = []
 
-               def initLevel = Verify.getIntFromList(30, 50, 70)
+               /*def initLevel = Verify.getIntFromList(30, 50, 70)
                this.currentLevel = initLevel
                def init = Verify.getBoolean()
                if (init) {
@@ -37,7 +37,7 @@ public class Switches {
                        this.switchState = "on"
                        this.currentSwitch = "on"
                        this.switchLatestValue = "on"
-               }
+               }*/
 
                switches.add(new Switch(sendEvent, id, label, displayName, this.switchState, this.currentSwitch, this.currentLevel, this.switchLatestValue))
        }