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