Add changes in events
[smartthings-infrastructure.git] / eventSimulator / accelerationInactiveEvent.groovy
index 60c9021c62cf8759ecca85cc15403e1a4fce4d41..d5e6a22d08adcf6536ae5c0b3cf2575fab76e6a7 100644 (file)
@@ -1,2 +1,2 @@
-                       accelerationSensorObject.setValue([name: "acceleration", value: "inactive", deviceId: "accelerationSensorID0", descriptionText: "",
-                                       displayed: true, linkText: "", isStateChange: false, unit: "", data: [info: "info"]])
+                       accelerationSensorObject[0].setValue([name: "acceleration", value: "inactive", deviceId: "accelerationSensorID0", descriptionText: "",
+                                       displayed: true, linkText: "", isStateChange: false, unit: "", data: '{"info": "info"}'])