Commenting out the Verify API calls in the object instantiation to avoid state explos...
[smartthings-infrastructure.git] / Alarm / Alarms.groovy
index bc805e1266bafb1d1f402ec8c7638bab13345648..1e8e68e226263d79acfd2c68ff046cb166f91cae 100644 (file)
@@ -25,7 +25,7 @@ public class Alarms {
                this.deviceNumbers = deviceNumbers
                this.alarms = []
 
-               def init = Verify.getBoolean()
+               /*def init = Verify.getBoolean()
                if (init) {
                        this.alarm = "off"
                        this.currentAlarm = "off"
@@ -34,7 +34,7 @@ public class Alarms {
                        this.alarm = "on"
                        this.currentAlarm = "on"
                        this.alarmLatestValue = "on"
-               }
+               }*/
                alarms.add(new Alarm(sendEvent, id, label, displayName, this.alarm, this.currentAlarm, this.alarmLatestValue))
        }