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