Removing getXXX methods + properties. Adding getProperty feature to SmartThing(s)
[smartthings-infrastructure.git] / eventSimulator / motionActiveEvent.groovy
index bcec32731055701d9b35539116f38a32f615af23..543642535c189e4c4c4934bc1f2a109186e7d1c0 100644 (file)
@@ -1,2 +1,2 @@
-                       motionSensorObject.setValue([name: "motion", value: "active", deviceId: "motionSensorID0", descriptionText: "",
-                                       displayed: true, linkText: "", isStateChange: false, unit: "", data: [info: "info"]])
\ No newline at end of file
+                       motionSensorObject[0].setValue([name: "motion", value: "active", deviceId: "motionSensorID0", descriptionText: "",
+                                       displayed: true, linkText: "", isStateChange: false, unit: "", data: '{"info": "info"}'])