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