Add changes in events
[smartthings-infrastructure.git] / eventSimulator / temperatureHighEvent.groovy
index d0446854de454bc7a456d469ea3f816233d1e577..359bc70b4ef956b6db71a8c230507e3aefba80a0 100644 (file)
@@ -1,2 +1,2 @@
-                       thermostatObject.setValue([name: "temperature", value: "55", deviceId: "thermostatID0", descriptionText: "",
+                       thermostatObject[0].setValue([name: "temperature", value: "55", deviceId: "thermostatID0", descriptionText: "",
                                        displayed: true, linkText: "", isStateChange: false, unit: "", data: '{"info": "info"}'])