Add changes in events
[smartthings-infrastructure.git] / eventSimulator / motionDefaultActiveEvent.groovy
index 4feb46d8aa94c82eb6044d11e34d2ca440fd93b4..304714924dfc8dccfff4c132eb20f1d5588a0d30 100644 (file)
@@ -1,2 +1,2 @@
-                       motionSensorObject.setValue([name: "motion.active", 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.active", value: "active", deviceId: "motionSensorID0", descriptionText: "",
+                                       displayed: true, linkText: "", isStateChange: false, unit: "", data: '{"info": "info"}'])