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