Integrating List of constant names into the if-statement to avoid creating read/write...
[smartthings-infrastructure.git] / eventSimulator / buttonHeldEvent.groovy
index 76209df0fb9e2302688194ad126daf94c52efca5..4c51ef6e6e0c253f0ddcebc9243b0c8823845140 100644 (file)
@@ -1,2 +1,2 @@
                        buttonObject.setValue([name: "button", value: "held", deviceId: "switchID0", descriptionText: "",
-                                       displayed: true, linkText: "", isStateChange: false, unit: "", data: '{"buttonNumber": 3}'])
+                                        displayed: true, linkText: "", isStateChange: false, unit: "", data: '{"buttonNumber": 1}'])