Add changes in events
[smartthings-infrastructure.git] / eventSimulator / aeonKeyFobHeldEvent.groovy
index 3937ff6d32dfa7952481b41080509a17d4e8f207..d05984e548dce66058c1cf7b026db79d69830b3e 100644 (file)
@@ -1,2 +1,2 @@
-                       aeonKeyFobObject.setValue([name: "button", value: "held", deviceId: "aeonKeyFobID0", descriptionText: "",
+                       aeonKeyFobObject[0].setValue([name: "button", value: "held", deviceId: "aeonKeyFobID0", descriptionText: "",
                                        displayed: true, linkText: "", isStateChange: false, unit: "", data: '{"info": "info"}'])