Add changes in events
[smartthings-infrastructure.git] / eventSimulator / thermostatCoolModeEvent.groovy
index 052a96ad89c2212128ea99badec50efd7c08809f..dcdae8e274df0d9e9c1cc0e67d2bcc305d96bcf7 100644 (file)
@@ -1,2 +1,2 @@
-                       thermostatObject.setValue([name: "thermostatMode", value: "cool", deviceId: "thermostatID0", descriptionText: "",
+                       thermostatObject[0].setValue([name: "thermostatMode", value: "cool", deviceId: "thermostatID0", descriptionText: "",
                                        displayed: true, linkText: "", isStateChange: false, unit: "", data: '{"info": "info"}'])