Minor bug in events for button device
[smartthings-infrastructure.git] / eventSimulator / buttonHeldEvent.groovy
index 0fbceddd47360957f1ef397e7768505f5b0737bd..4c51ef6e6e0c253f0ddcebc9243b0c8823845140 100644 (file)
@@ -1,2 +1,2 @@
-                       aeonKeyFobObject.setValue([name: "button", value: "held", deviceId: "aeonKeyFobID0", descriptionText: "",
-                                       displayed: true, linkText: "", isStateChange: false, unit: "", data: [info: "info"]])
+                       buttonObject.setValue([name: "button", value: "held", deviceId: "switchID0", descriptionText: "",
+                                        displayed: true, linkText: "", isStateChange: false, unit: "", data: '{"buttonNumber": 1}'])