From 9ba86613e2bf63d553369c526274b040c116c5de Mon Sep 17 00:00:00 2001 From: rtrimana Date: Wed, 7 Aug 2019 09:12:59 -0700 Subject: [PATCH] Fixing a bug: should have been pushed, not push. --- Variables and events for each device | 2 +- eventSimulator/buttonPushedEvent.groovy | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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}']) -- 2.34.1