Fixing bug in Mobile Presence class
[smartthings-infrastructure.git] / eventSimulator / buttonPushedEvent.groovy
1                         buttonObject[0].setValue([name: "button", value: "pushed", deviceId: "switchID0", descriptionText: "",
2                                         displayed: true, linkText: "", isStateChange: false, unit: "", data: '{"buttonNumber": 1}'])
3                         buttonObject[0].setValue([name: "button", value: "pushed", deviceId: "switchID0", descriptionText: "",
4                                         displayed: true, linkText: "", isStateChange: false, unit: "", data: '{"buttonNumber": 2}'])
5                         buttonObject[0].setValue([name: "button", value: "pushed", deviceId: "switchID0", descriptionText: "",
6                                         displayed: true, linkText: "", isStateChange: false, unit: "", data: '{"buttonNumber": 3}'])
7                         buttonObject[0].setValue([name: "button", value: "pushed", deviceId: "switchID0", descriptionText: "",
8                                         displayed: true, linkText: "", isStateChange: false, unit: "", data: '{"buttonNumber": 4}'])