Add changes in events
[smartthings-infrastructure.git] / eventSimulator / motionDefaultInactiveEvent.groovy
index fc5142b4dab8decd0bc8366e87faa19498ada1bc..37a3f1786da424bed65ae80a67c15d4b9b28c41f 100644 (file)
@@ -1,2 +1,2 @@
-                       motionSensorObject.setValue([name: "motion.inactive", value: "inactive", deviceId: "motionSensorID0", descriptionText: "",
-                                       displayed: true, linkText: "", isStateChange: false, unit: "", data: '{"info": "info"}'])
\ No newline at end of file
+                       motionSensorObject[0].setValue([name: "motion.inactive", value: "inactive", deviceId: "motionSensorID0", descriptionText: "",
+                                       displayed: true, linkText: "", isStateChange: false, unit: "", data: '{"info": "info"}'])