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