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