Add changes in events
[smartthings-infrastructure.git] / eventSimulator / motionActiveEvent.groovy
index fd452ba6adad56804c2e75705cefe16ce904780e..869ed7e14098279b8bff31256a4cd86c97c3cea1 100644 (file)
@@ -1,2 +1,2 @@
-                       motionSensorObject.setValue([name: "motion", value: "active", deviceId: "motionSensorID0", descriptionText: "",
-                                       displayed: true, linkText: "", isStateChange: false, unit: "", data: [info: "info"]])
+                       motionSensorObjectp[0].setValue([name: "motion", value: "active", deviceId: "motionSensorID0", descriptionText: "",
+                                       displayed: true, linkText: "", isStateChange: false, unit: "", data: '{"info": "info"}'])