Solving the conflicts
[smartthings-infrastructure.git] / SmokeDetector / SmokeDetectors.groovy
index e7aec2f7aa5279456a837eb2af5f219026802670..768f53acb1ed9e1e7c77ba67b2022bc00339c9e6 100644 (file)
@@ -53,7 +53,7 @@ public class SmokeDetectors {
                        this.carbonMonoxideLatestValue = "tested"               
                }
                }*/
-               smokeDetectors.add(new SmokeDetector(id, label, displayName, this.currentSmokeValue, this.smokeLatestValue))
+               smokeDetectors.add(new SmokeDetector(id, label, displayName, this.currentSmokeValue, this.smokeLatestValue, this.carbonMonoxide, this.carbonMonoxideLatestValue, this.battery))
        }
 
        //By Model Checker