Add changes in events
[smartthings-infrastructure.git] / eventSimulator / lockUnlockedEvent.groovy
index 7ce594bf7dbceaea546b513a1b12d86576d7e68b..4911eabc35f83590d92e3bb3f3e582390b5eba91 100644 (file)
@@ -1,2 +1,2 @@
-                       lockObject.setValue([name: "lock", value: "unlocked", deviceId: "lockID0", descriptionText: "",
+                       lockObject[0].setValue([name: "lock", value: "unlocked", deviceId: "lockID0", descriptionText: "",
                                        displayed: true, linkText: "", isStateChange: false, unit: "", data: '{"info": "info"}'])