From 2c4a9b17be2e2e35e87206191842c802c0034e29 Mon Sep 17 00:00:00 2001 From: Yves Racine Date: Thu, 22 Oct 2015 19:44:48 -0400 Subject: [PATCH] Minor code formatting --- smartapps/ScheduleTstatZones.groovy | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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()