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