Commenting out the Verify API calls in the object instantiation to avoid state explos...
[smartthings-infrastructure.git] / SmokeDetector / SmokeDetectors.groovy
index e9d5da2f67b6c87057cc915d970fb9dbb83a1dc1..2bbc41d5706704716753b6c2ec91bd7b350050a3 100644 (file)
@@ -24,7 +24,7 @@ public class SmokeDetectors {
                this.deviceNumbers = deviceNumbers
                this.smokeDetectors = []
 
-               def init = Verify.getInt(0,2)
+               /*def init = Verify.getInt(0,2)
                if (init == 0) {
                        this.currentSmokeValue = "clear"
                        this.smokeLatestValue = "clear"
@@ -34,7 +34,7 @@ public class SmokeDetectors {
                } else {
                        this.currentSmokeValue = "tested"
                        this.smokeLatestValue = "tested"                
-               }
+               }*/
                smokeDetectors.add(new SmokeDetector(id, label, displayName, this.currentSmokeValue, this.smokeLatestValue))
        }