X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=eventSimulator%2FbuttonPushedEvent.groovy;h=a7bbdea4ef1d1a577b034b41f9b20cf0f73ac46e;hb=d57a6f7fd0a35286e270d8b39ac7fbf45af88b08;hp=5a545f84f02213ae3d1f2035e21c20e3c84c9e6e;hpb=c582646261f8dca650d76b4162e483dfd392d3e1;p=smartthings-infrastructure.git diff --git a/eventSimulator/buttonPushedEvent.groovy b/eventSimulator/buttonPushedEvent.groovy index 5a545f8..a7bbdea 100644 --- a/eventSimulator/buttonPushedEvent.groovy +++ b/eventSimulator/buttonPushedEvent.groovy @@ -1,2 +1,8 @@ - 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}'])