Minor bug in events for button device
[smartthings-infrastructure.git] / eventSimulator / buttonPushedEvent.groovy
index 52e74ccb42e59bdeacef890ab229c5199f179079..b14d8e70a58dfd456f3c27bd96a816a6f5356057 100644 (file)
@@ -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}'])