Commenting out the Verify API calls in the object instantiation to avoid state explos...
[smartthings-infrastructure.git] / AccelerationSensor / AccelerationSensors.groovy
index 8c1992cd4065996444a755ce629826dbc1a2ca02..db90c564479fd7d837faeb91818dfd4822582c45 100644 (file)
@@ -24,14 +24,14 @@ public class AccelerationSensors {
                this.deviceNumbers = deviceNumbers
                this.accelerationSensors = []
 
-               def init = Verify.getBoolean()
+               /*def init = Verify.getBoolean()
                if (init) {
                        this.acceleration = "inactive"
                        this.accelerationLatestValue = "inactive"
                } else {
                        this.acceleration = "active"
                        this.accelerationLatestValue = "active"
-               }
+               }*/
                accelerationSensors.add(new AccelerationSensor(id, label, displayName, this.acceleration, this.accelerationLatestValue))
        }