X-Git-Url: http://plrg.eecs.uci.edu/git/?p=smartthings-infrastructure.git;a=blobdiff_plain;f=eventSimulator%2FbuttonPushedEvent.groovy;h=d6013e1a3742d3812b67a7b89648e1688322b840;hp=5a545f84f02213ae3d1f2035e21c20e3c84c9e6e;hb=dd478f2cc3f2096c7deaa628f2f754228246c01c;hpb=c582646261f8dca650d76b4162e483dfd392d3e1 diff --git a/eventSimulator/buttonPushedEvent.groovy b/eventSimulator/buttonPushedEvent.groovy index 5a545f8..d6013e1 100644 --- a/eventSimulator/buttonPushedEvent.groovy +++ b/eventSimulator/buttonPushedEvent.groovy @@ -1,2 +1,11 @@ - aeonKeyFobObject.setValue([name: "button", value: "pushed", deviceId: "aeonKeyFobID0", descriptionText: "", - displayed: true, linkText: "", isStateChange: false, unit: "", data: [info: "info"]]) + buttonObject.setValue([name: "button", value: "pushed", deviceId: "switchID0", descriptionText: "", + displayed: true, linkText: "", isStateChange: false, unit: "", data: '{"buttonNumber": 1}']) + + buttonObject.setValue([name: "button", value: "pushed", deviceId: "switchID0", descriptionText: "", + displayed: true, linkText: "", isStateChange: false, unit: "", data: '{"buttonNumber": 2}']) + + buttonObject.setValue([name: "button", value: "pushed", deviceId: "switchID0", descriptionText: "", + displayed: true, linkText: "", isStateChange: false, unit: "", data: '{"buttonNumber": 3}']) + + buttonObject.setValue([name: "button", value: "pushed", deviceId: "switchID0", descriptionText: "", + displayed: true, linkText: "", isStateChange: false, unit: "", data: '{"buttonNumber": 4}'])