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