Commenting out the Verify API calls in the object instantiation to avoid state explos...
[smartthings-infrastructure.git] / SwitchLevel / SwitchLevels.groovy
index 3990109beda158ce7c7af3aa06938cefe72d4f74..4ace3612708741914db1dd0d13f155c5b065836e 100644 (file)
@@ -27,7 +27,7 @@ public class SwitchLevels {
                this.deviceNumbers = deviceNumbers
                this.switchLevels = []
 
-               def initLevel = Verify.getIntFromList(30, 50, 70)
+               /*def initLevel = Verify.getIntFromList(30, 50, 70)
                this.level = initLevel
                def init = Verify.getBoolean()
                if (init) {
@@ -38,7 +38,7 @@ public class SwitchLevels {
                        this.switchState = "on"
                        this.currentSwitch = "on"
                        this.switchLatestValue = "on"
-               }
+               }*/
                switchLevels.add(new SwitchLevel(sendEvent, id, label, displayName, this.level, this.switchState, this.switchLatestValue))
        }