Fixing bug in Mobile Presence class
[smartthings-infrastructure.git] / eventSimulator / smokeClearEvent.groovy
index c47d3c0f4eaec02b8fe50a1b3bd1229ff5dd6614..4e7bfd766ec54c1ab6dfae08901b64f7691542f1 100644 (file)
@@ -1,2 +1,2 @@
-                       smokeDetectorObject.setValue([name: "smoke", value: "clear", deviceId: "smokeDetectorID0", descriptionText: "",
-                                       displayed: true, linkText: "", isStateChange: false, unit: "", data: [info: "info"]])
\ No newline at end of file
+                       smokeDetectorObject[0].setValue([name: "smoke", value: "clear", deviceId: "smokeDetectorID0", descriptionText: "",
+                                       displayed: true, linkText: "", isStateChange: false, unit: "", data: '{"info": "info"}'])