Add changes in events
[smartthings-infrastructure.git] / eventSimulator / smokeCarbonMonoxideDefaultTestedEvent.groovy
index 878b67ade9e47e395085b79ef7e65180a70dc04c..5fc7b91846c6cf5c28c910c3e8d528385489838a 100644 (file)
@@ -1,2 +1,2 @@
-                       smokeDetectorObject.setValue([name: "carbonMonoxide.tested", value: "tested", deviceId: "smokeDetectorID0", descriptionText: "",
-                                       displayed: true, linkText: "", isStateChange: false, unit: "", data: '{"info": "info"}'])
\ No newline at end of file
+                       smokeDetectorObject[0].setValue([name: "carbonMonoxide.tested", value: "tested", deviceId: "smokeDetectorID0", descriptionText: "",
+                                       displayed: true, linkText: "", isStateChange: false, unit: "", data: '{"info": "info"}'])