2 def eventNumber = Verify.getInt(0,9)
5 def event = Verify.getInt(0,2)
7 locationObject.setValue([name: "Location", value: "home", deviceId: "locationID0", descriptionText: "",
8 displayed: true, linkText: "", isStateChange: false, unit: "", data: '{"info": "info"}'])
9 } else if (event == 1) {
10 locationObject.setValue([name: "Location", value: "away", deviceId: "locationID0", descriptionText: "",
11 displayed: true, linkText: "", isStateChange: false, unit: "", data: '{"info": "info"}'])
13 locationObject.setValue([name: "Location", value: "night", deviceId: "locationID0", descriptionText: "",
14 displayed: true, linkText: "", isStateChange: false, unit: "", data: '{"info": "info"}'])
18 contactObject.setValue([name: "contact.open", value: "open", deviceId: "contactSensorID0", descriptionText: "",
19 displayed: true, linkText: "", isStateChange: false, unit: "", data: '{"info": "info"}'])
36 def event = Verify.getInt(0,1)
38 aeonKeyFobObject.setValue([name: "button", value: "pushed", deviceId: "aeonKeyFobID0", descriptionText: "",
39 displayed: true, linkText: "", isStateChange: false, unit: "", data: '{"info": "info"}'])
41 aeonKeyFobObject.setValue([name: "button", value: "held", deviceId: "aeonKeyFobID0", descriptionText: "",
42 displayed: true, linkText: "", isStateChange: false, unit: "", data: '{"info": "info"}'])