X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=eventSimulator%2FbuttonPushedEvent.groovy;h=3e0ef2503cc1a516c75fc9e318b70d4c115e90cf;hb=9ba86613e2bf63d553369c526274b040c116c5de;hp=52e74ccb42e59bdeacef890ab229c5199f179079;hpb=b0f9044f8811563aae5895e537eafccc94e067ed;p=smartthings-infrastructure.git diff --git a/eventSimulator/buttonPushedEvent.groovy b/eventSimulator/buttonPushedEvent.groovy index 52e74cc..3e0ef25 100644 --- a/eventSimulator/buttonPushedEvent.groovy +++ b/eventSimulator/buttonPushedEvent.groovy @@ -1,2 +1,2 @@ - aeonKeyFobObject.setValue([name: "button", value: "pushed", deviceId: 0, descriptionText: "", - displayed: true, linkText: "", isStateChange: false, unit: "", data: [value: "pushed"]]) + buttonObject.setValue([name: "button", value: "pushed", deviceId: "switchID0", descriptionText: "", + displayed: true, linkText: "", isStateChange: false, unit: "", data: '{"buttonNumber": 1}'])