From: rtrimana Date: Wed, 7 Aug 2019 16:12:59 +0000 (-0700) Subject: Fixing a bug: should have been pushed, not push. X-Git-Url: http://plrg.eecs.uci.edu/git/?p=smartthings-infrastructure.git;a=commitdiff_plain;h=9ba86613e2bf63d553369c526274b040c116c5de;ds=sidebyside Fixing a bug: should have been pushed, not push. --- diff --git a/Variables and events for each device b/Variables and events for each device index 19d4503..735b803 100644 --- a/Variables and events for each device +++ b/Variables and events for each device @@ -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*/ diff --git a/eventSimulator/buttonPushedEvent.groovy b/eventSimulator/buttonPushedEvent.groovy index 6f1a8c6..3e0ef25 100644 --- a/eventSimulator/buttonPushedEvent.groovy +++ b/eventSimulator/buttonPushedEvent.groovy @@ -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}'])