Commenting out the Verify API calls in the object instantiation to avoid state explos...
[smartthings-infrastructure.git] / CarbonMonoxideDetector / CarbonMonoxideDetectors.groovy
index 2eb9d745bb74b47379d8dc3fc5016d2607991320..9a682610d0814b45b434d7ab332b4b56c8d519aa 100644 (file)
@@ -24,7 +24,7 @@ public class CarbonMonoxideDetectors {
                this.deviceNumbers = deviceNumbers
                this.carbonMonoxideDetectors = []
                
-               def init = Verify.getInt(0,2)
+               /*def init = Verify.getInt(0,2)
                if (init == 0) {
                        this.carbonMonoxide = "clear"
                        this.carbonMonoxideLatestValue = "clear"
@@ -34,7 +34,7 @@ public class CarbonMonoxideDetectors {
                } else {
                        this.carbonMonoxide = "tested"
                        this.carbonMonoxideLatestValue = "tested"               
-               }
+               }*/
                carbonMonoxideDetectors.add(new CarbonMonoxideDetector(id, label, displayName, this.currentCarbonMonoxideValue, this.carbonMonoxideLatestValue))
        }