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