X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=Variables%20and%20events%20for%20each%20device;h=735b8030d48ccd6741c06ff98ea5fb95d0646540;hb=c5a15ff5f4f3bc0d6a89cfeb4dad8a995baa14d5;hp=6f6d6e38dc6706d6cf8fa7de1d9f22d10082343e;hpb=fdeb12e78476b60c4c3c0d5d33e55dddcf98578e;p=smartthings-infrastructure.git diff --git a/Variables and events for each device b/Variables and events for each device index 6f6d6e3..735b803 100644 --- a/Variables and events for each device +++ b/Variables and events for each device @@ -55,6 +55,10 @@ locationObject.setValue([name: "sunset", value: "sunset", deviceId: "locationID0 displayed: true, linkText: "", isStateChange: false, unit: "", data: '{"info": "info"}']) locationObject.setValue([name: "sunrise", value: "sunrise", deviceId: "locationID0", descriptionText: "", displayed: true, linkText: "", isStateChange: false, unit: "", data: '{"info": "info"}']) +locationObject.setValue([name: "sunsetTime", value: "sunset", deviceId: "locationID0", descriptionText: "", +displayed: true, linkText: "", isStateChange: false, unit: "", data: '{"info": "info"}']) +locationObject.setValue([name: "sunriseTime", value: "sunrise", deviceId: "locationID0", descriptionText: "", +displayed: true, linkText: "", isStateChange: false, unit: "", data: '{"info": "info"}']) /*events*/ // ------------------------------------------------------------------------------- @@ -477,7 +481,7 @@ String button /*events*/ buttonObject.setValue([name: "button", value: "held", deviceId: "buttonID0", descriptionText: "", displayed: true, linkText: "", isStateChange: false, unit: "", data: '{"buttonNumber": 1}']) -buttonObject.setValue([name: "button", value: "push", deviceId: "buttonID0", descriptionText: "", +buttonObject.setValue([name: "button", value: "pushed", deviceId: "buttonID0", descriptionText: "", displayed: true, linkText: "", isStateChange: false, unit: "", data: '{"buttonNumber": 1}']) ///// /*events*/ @@ -490,6 +494,8 @@ LinkedHashMap threeAxis /*events*/ threeAxisObject.setValue([name: "threeAxis", value: '{"x": 1, "y": 2, "z": 3}', deviceId: "threeAxisID0", descriptionText: "", displayed: true, linkText: "", isStateChange: false, unit: "", data: '{"info": "info"}']) +threeAxisObject.setValue([name: "status", value: '{"x": 1, "y": 2, "z": 3}', deviceId: "threeAxisID0", descriptionText: "", +displayed: true, linkText: "", isStateChange: false, unit: "", data: '{"info": "info"}']) ///// /*events*/ //