From 20e112f4f8e177153e82c9f03433facb711b99d7 Mon Sep 17 00:00:00 2001 From: Matt Pennig Date: Tue, 8 Mar 2016 11:20:57 -0600 Subject: [PATCH] Update sim. thermostat with new functionality and brand colors --- .../simulated-thermostat.src/simulated-thermostat.groovy | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/devicetypes/smartthings/testing/simulated-thermostat.src/simulated-thermostat.groovy b/devicetypes/smartthings/testing/simulated-thermostat.src/simulated-thermostat.groovy index ed0b23c..229c90c 100644 --- a/devicetypes/smartthings/testing/simulated-thermostat.src/simulated-thermostat.groovy +++ b/devicetypes/smartthings/testing/simulated-thermostat.src/simulated-thermostat.groovy @@ -32,14 +32,15 @@ metadata { attributeState("default", label:'${currentValue}', unit:"dF") } tileAttribute("device.temperature", key: "VALUE_CONTROL") { - attributeState("default", action: "setTemperature") + attributeState("VALUE_UP", action: "tempUp") + attributeState("VALUE_DOWN", action: "tempDown") } tileAttribute("device.humidity", key: "SECONDARY_CONTROL") { attributeState("default", label:'${currentValue}%', unit:"%") } tileAttribute("device.thermostatOperatingState", key: "OPERATING_STATE") { attributeState("idle", backgroundColor:"#44b621") - attributeState("heating", backgroundColor:"#ffa81e") + attributeState("heating", backgroundColor:"#ea5462") attributeState("cooling", backgroundColor:"#269bd2") } tileAttribute("device.thermostatMode", key: "THERMOSTAT_MODE") {