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