Add changes in events
[smartthings-infrastructure.git] / eventSimulator / switchLevelOffDefaultEvent.groovy
index 1a7d43c4a56905d8e377098ef99ebcff19fea27e..adb59e761b2d72864b94bb015f22dd33f8784493 100644 (file)
@@ -1,2 +1,2 @@
-                       switchLevelObject.setValue([name: "switch.off", value: "off", deviceId: "switchLevelID0", descriptionText: "",
-                                       displayed: true, linkText: "", isStateChange: false, unit: "", data: '{"info": "info"}'])
\ No newline at end of file
+                       switchLevelObject[0].setValue([name: "switch.off", value: "off", deviceId: "switchLevelID0", descriptionText: "",
+                                       displayed: true, linkText: "", isStateChange: false, unit: "", data: '{"info": "info"}'])