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