Commenting out the Verify API calls in the object instantiation to avoid state explos...
[smartthings-infrastructure.git] / RelaySwitch / RelaySwitches.groovy
index 07e1c305b7a4a28e2f94dcfef08d22bb03e59df1..d9615e2f8a64110f92506ee0b6999f2517e06a7d 100644 (file)
@@ -25,7 +25,7 @@ public class RelaySwitches {
                this.deviceNumbers = deviceNumbers
                this.relaySwitches = []
 
-               def init = Verify.getBoolean()
+               /*def init = Verify.getBoolean()
                if (init) {
                        this.switchState = "off"
                        this.currentSwitch = "off"
@@ -34,7 +34,7 @@ public class RelaySwitches {
                        this.switchState = "on"
                        this.currentSwitch = "on"
                        this.switchLatestValue = "on"
-               }
+               }*/
                relaySwitches.add(new RelaySwitch(sendEvent, id, label, displayName, this.switchState, this.currentSwitch, this.switchLatestValue))
        }