X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=eventSimulator%2FbuttonPushedEvent.groovy;h=a7bbdea4ef1d1a577b034b41f9b20cf0f73ac46e;hb=d57a6f7fd0a35286e270d8b39ac7fbf45af88b08;hp=d6013e1a3742d3812b67a7b89648e1688322b840;hpb=740114c29560d182bbc0d0bf33cf1b8d226701cb;p=smartthings-infrastructure.git diff --git a/eventSimulator/buttonPushedEvent.groovy b/eventSimulator/buttonPushedEvent.groovy index d6013e1..a7bbdea 100644 --- a/eventSimulator/buttonPushedEvent.groovy +++ b/eventSimulator/buttonPushedEvent.groovy @@ -1,11 +1,8 @@ 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: "", + 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: "", + 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}']) + displayed: true, linkText: "", isStateChange: false, unit: "", data: '{"buttonNumber": 4}'])