Add changes in events
[smartthings-infrastructure.git] / eventSimulator / smokeClearEvent.groovy
index e285e5e5be0818a5acc963066eb826b2c1f24332..4e7bfd766ec54c1ab6dfae08901b64f7691542f1 100644 (file)
@@ -1,2 +1,2 @@
-                       smokeDetectorObject.setValue([name: "smoke", value: "clear", deviceId: "smokeDetectorID0", descriptionText: "",
+                       smokeDetectorObject[0].setValue([name: "smoke", value: "clear", deviceId: "smokeDetectorID0", descriptionText: "",
                                        displayed: true, linkText: "", isStateChange: false, unit: "", data: '{"info": "info"}'])