Minor bug in events for button device
[smartthings-infrastructure.git] / eventSimulator / buttonHeldEvent.groovy
index d350c295563ff009d0860bb8ddf35549b19f4fdb..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"]])
\ No newline at end of file
+                       buttonObject.setValue([name: "button", value: "held", deviceId: "switchID0", descriptionText: "",
+                                        displayed: true, linkText: "", isStateChange: false, unit: "", data: '{"buttonNumber": 1}'])