Removing getXXX methods + properties. Adding getProperty feature to SmartThing(s)
[smartthings-infrastructure.git] / eventSimulator / unlockEvent.groovy
index 189e4d24d03d19a3a7ec4c45fa5c25df761cde46..803ed21fea033a30747566724a9a0eb001aa489b 100644 (file)
@@ -1,2 +1,2 @@
-                       lockObject.setValue([name: "unlock", value: "unlocked ", deviceId: 0, descriptionText: "",
-                                       displayed: true, linkText: "", isStateChange: false, unit: "", data: [value: "locked"]])
+                       lockObject[0].setValue([name: "lock.unlocked", value: "unlocked", deviceId: "lockID0", descriptionText: "",
+                                       displayed: true, linkText: "", isStateChange: false, unit: "", data: '{"info": "info"}'])