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