Add changes in events
[smartthings-infrastructure.git] / eventSimulator / colorLevelChangeEvent.groovy
index 9989cbf74e06b40e5e1bac238b080274c6dc2035..85d255bcd6e00af4abcb2760fa38c67cde7d4ab9 100644 (file)
@@ -1,2 +1,2 @@
-                       colorControlObject.setValue([name: "level", value: "50", deviceId: "colorControlID0", descriptionText: "",
-                                       displayed: true, linkText: "", isStateChange: false, unit: "", data: '{"info": "info"}'])
\ No newline at end of file
+                       colorControlObject[0].setValue([name: "level", value: "50", deviceId: "colorControlID0", descriptionText: "",
+                                       displayed: true, linkText: "", isStateChange: false, unit: "", data: '{"info": "info"}'])