Commenting out the Verify API calls in the object instantiation to avoid state explos...
[smartthings-infrastructure.git] / ContactSensor / ContactSensors.groovy
index 489200dbf0a43907d3556cef56f50c528d7a5834..b8fba79c363f683418856d43f92300c962b0208c 100644 (file)
@@ -25,7 +25,7 @@ public class ContactSensors {
                this.deviceNumbers = deviceNumbers
                this.contacts = []
 
-               def initSensor = Verify.getBoolean()
+               /*def initSensor = Verify.getBoolean()
                if (initSensor) {
                        this.contactState = "closed"
                        this.currentContact = "closed"
@@ -41,7 +41,7 @@ public class ContactSensors {
                        this.alarmState = "armed"
                } else {
                        this.alarmState = "not armed"
-               }
+               }*/
                contacts.add(new ContactSensor(id, label, displayName, this.contactState, this.currentContact, this.alarmState, this.latestValue))
        }