Removing getXXX methods + properties. Adding getProperty feature to SmartThing(s)
[smartthings-infrastructure.git] / eventSimulator / locationAwayEvent.groovy
index bb82c6f1c97ca490e158bdb1d879560b32e0a9ad..981232d18798d99a9eb2aef1736a7051db9d16f5 100644 (file)
@@ -1,2 +1,2 @@
-                       locationObject.setValue([name: "Location", value: "away", deviceId: "locationID0", descriptionText: "",
-                                       displayed: true, linkText: "", isStateChange: false, unit: "", data: [info: "info"]])
+                       locationObject.setValue([name: "mode", value: "away", deviceId: "locationID0", descriptionText: "",
+                                       displayed: true, linkText: "", isStateChange: false, unit: "", data: '{"info": "info"}'])