Adding more events for button.
[smartthings-infrastructure.git] / eventSimulator / buttonPushedEvent.groovy
index 889af89eb75457159522996809b75f592f894762..6f1a8c6830016ed48a55086b67adfeceb9155df2 100644 (file)
@@ -1,2 +1,2 @@
-                       aeonKeyFobObject.setValue([name: "button", value: "pushed", deviceId: "aeonKeyFobID0", descriptionText: "",
-                                       displayed: true, linkText: "", isStateChange: false, unit: "", data: '{"info": "info"}'])
+                       buttonObject.setValue([name: "button", value: "push", deviceId: "switchID0", descriptionText: "",
+                                       displayed: true, linkText: "", isStateChange: false, unit: "", data: '{"buttonNumber": 1}'])