Fixing a bug: should have been pushed, not push.
[smartthings-infrastructure.git] / Variables and events for each device
index 6f6d6e38dc6706d6cf8fa7de1d9f22d10082343e..735b8030d48ccd6741c06ff98ea5fb95d0646540 100644 (file)
@@ -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*/
 //