Fixing a bug: should have been pushed, not push.
authorrtrimana <rtrimana@uci.edu>
Wed, 7 Aug 2019 16:12:59 +0000 (09:12 -0700)
committerrtrimana <rtrimana@uci.edu>
Wed, 7 Aug 2019 16:12:59 +0000 (09:12 -0700)
Variables and events for each device
eventSimulator/buttonPushedEvent.groovy

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*/
index 6f1a8c6..3e0ef25 100644 (file)
@@ -1,2 +1,2 @@
-                       buttonObject.setValue([name: "button", value: "push", deviceId: "switchID0", descriptionText: "",
+                       buttonObject.setValue([name: "button", value: "pushed", deviceId: "switchID0", descriptionText: "",
                                        displayed: true, linkText: "", isStateChange: false, unit: "", data: '{"buttonNumber": 1}'])