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