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