Add changes in events
[smartthings-infrastructure.git] / eventSimulator / threeAxisChangeEvent.groovy
index 2ce9b6024aa002b8d0bef1d0b7a08e1f64e0fdff..643dd63159b5df177e897736fe285560c55b73e6 100644 (file)
@@ -1,2 +1,2 @@
-                       threeAxisObject.setValue([name: "threeAxis", value: '{"x": 1, "y": 2, "z": 3}', deviceId: "threeAxisID0", descriptionText: "",
+                       threeAxisObject[0].setValue([name: "threeAxis", value: '{"x": 1, "y": 2, "z": 3}', deviceId: "threeAxisID0", descriptionText: "",
                                displayed: true, linkText: "", isStateChange: false, unit: "", data: '{"info": "info"}'])