Fixing a bug: should have been pushed, not push.
[smartthings-infrastructure.git] / eventSimulator / buttonPushedEvent.groovy
index 889af89eb75457159522996809b75f592f894762..3e0ef2503cc1a516c75fc9e318b70d4c115e90cf 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: "pushed", deviceId: "switchID0", descriptionText: "",
+                                       displayed: true, linkText: "", isStateChange: false, unit: "", data: '{"buttonNumber": 1}'])