Commenting out the Verify API calls in the object instantiation to avoid state explos...
[smartthings-infrastructure.git] / PresenceSensor / PresenceSensors.groovy
index cb13242c3d622d9087797f570186379cc923aaa7..05721d5b1ec58da4a5d29fcda8e556d27def909f 100644 (file)
@@ -23,14 +23,14 @@ public class PresenceSensors {
                this.sendEvent = sendEvent              
                this.deviceNumbers = deviceNumbers
                this.presenceSensors = []
-               def init = Verify.getBoolean()
+               /*def init = Verify.getBoolean()
                if (init) {
                        this.presence = "not present"
                        this.presenceLatestValue = "not present"
                } else {
                        this.presence = "present"
                        this.presenceLatestValue = "present"
-               }
+               }*/
 
                presenceSensors.add(new PresenceSensor(id, label, displayName, this.presence, this.presenceLatestValue))
        }