Commenting out the Verify API calls in the object instantiation to avoid state explos...
[smartthings-infrastructure.git] / MotionSensor / MotionSensors.groovy
index 85167131551b73f787be48e6525bb806a5e2db8c..764aa3e9c505d0c405933f12b2b7489eb2d38abe 100644 (file)
@@ -24,14 +24,14 @@ public class MotionSensors {
                this.deviceNumbers = deviceNumbers
                this.motionSensors = []
 
-               def init = Verify.getBoolean()
+               /*def init = Verify.getBoolean()
                if (init) {
                        this.motion = "inactive"
                        this.motionLatestValue = "inactive"
                } else {
                        this.motion = "active"
                        this.motionLatestValue = "active"
-               }
+               }*/
                motionSensors.add(new MotionSensor(id, label, displayName, this.motion, this.motionLatestValue))
        }