X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=eventSimulator%2FbuttonHeldEvent.groovy;fp=eventSimulator%2FbuttonHeldEvent.groovy;h=555ea4e5c01d055dd0e7832d1551eb1abaf662d7;hb=d57a6f7fd0a35286e270d8b39ac7fbf45af88b08;hp=4c51ef6e6e0c253f0ddcebc9243b0c8823845140;hpb=6d292c921178f1446efa72c7412a0efe3609fcf6;p=smartthings-infrastructure.git diff --git a/eventSimulator/buttonHeldEvent.groovy b/eventSimulator/buttonHeldEvent.groovy index 4c51ef6..555ea4e 100644 --- a/eventSimulator/buttonHeldEvent.groovy +++ b/eventSimulator/buttonHeldEvent.groovy @@ -1,2 +1,8 @@ buttonObject.setValue([name: "button", value: "held", deviceId: "switchID0", descriptionText: "", displayed: true, linkText: "", isStateChange: false, unit: "", data: '{"buttonNumber": 1}']) + buttonObject.setValue([name: "button", value: "held", deviceId: "switchID0", descriptionText: "", + displayed: true, linkText: "", isStateChange: false, unit: "", data: '{"buttonNumber": 2}']) + buttonObject.setValue([name: "button", value: "held", deviceId: "switchID0", descriptionText: "", + displayed: true, linkText: "", isStateChange: false, unit: "", data: '{"buttonNumber": 3}']) + buttonObject.setValue([name: "button", value: "held", deviceId: "switchID0", descriptionText: "", + displayed: true, linkText: "", isStateChange: false, unit: "", data: '{"buttonNumber": 4}'])