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