diff --git a/smartapps/ScheduleTstatZones.groovy b/smartapps/ScheduleTstatZones.groovy index 53e43727..f4b53e92 100644 --- a/smartapps/ScheduleTstatZones.groovy +++ b/smartapps/ScheduleTstatZones.groovy @@ -1509,7 +1509,7 @@ private boolean is_temperature_too_hot_or_too_cold(ventSwitch) { log.debug("is_temperature_in_vent_too_hot>checking current Temperature of ${ventSwitch}= ${tempSwitch}° vs. HVAC Max Temp of ${MAX_TEMP_VENT_SWITCH}°") log.debug("is_temperature_in_vent_too_hot>checking current Temperature of ${ventSwitch}= ${tempSwitch}° vs. HVAC Min Temp of ${MIN_TEMP_VENT_SWITCH}°") if (tempSwitch) { - if (((currentHVACMode=='heat') || (currentHVACMode == 'auto')) && (tempSwitch >= MAX_TEMP_VENT_SWITCH)) { + if (((currentHVACMode=='heat') || (currentHVACMode == 'auto')) && (tempSwitch >= MAX_TEMP_VENT_SWITCH)) { // Turn the HVAC off, open all vents, and deactivate any further smartapp processing thermostat.off() open_all_vents() @@ -1517,7 +1517,7 @@ private boolean is_temperature_too_hot_or_too_cold(ventSwitch) { send("ScheduleTstatZones> ** IMMEDIATE ATTENTION: current HVAC mode is ${currentHVACMode}, and inside temperature of vent ${ventSwitch} too hot (${tempSwitch}°), opening all vents and turning off the HVAC to avoid any damage **") return true } /* if too hot */ - if (((currentHVACMode=='cool') || (currentHVACMode == 'auto')) && (tempSwitch <= MIN_TEMP_VENT_SWITCH)) { + if (((currentHVACMode=='cool') || (currentHVACMode == 'auto')) && (tempSwitch <= MIN_TEMP_VENT_SWITCH)) { // Turn the HVAC off, open all vents, and deactivate any further smartapp processing thermostat.off() open_all_vents()