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