Skip to content

Commit

Permalink
v1.8 Better logic in setZoneSettings
Browse files Browse the repository at this point in the history
  • Loading branch information
yracine committed Jul 23, 2015
1 parent 363a07e commit 2c40ef3
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions smartapps/ScheduleTstatZones.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def generalSetupPage() {
dynamicPage(name: "generalSetupPage", uninstall: true, nextPage: roomsSetupPage) {
section("About") {
paragraph "ScheduleTstatZones, the smartapp that enables Heating/Cooling zoned settings at selected thermostat(s) coupled with z-wave vents (optional) for better temp settings control throughout your home"
paragraph "Version 1.7\n\n" +
paragraph "Version 1.8\n\n" +
"If you like this app, please support the developer via PayPal:\n\n[email protected]\n\n" +
"Copyright©2015 Yves Racine"
href url: "http://github.com/yracine", style: "embedded", required: false, title: "More information...",
Expand Down Expand Up @@ -569,12 +569,12 @@ def setZoneSettings() {
send("ScheduleTstatZones>running schedule ${scheduleName},about to set zone settings as requested")
}

// set the zoned vent switches to 'on'
def ventSwitchesZoneSet= control_vent_switches_in_zone(i)
log.debug "setZoneSettings>schedule ${scheduleName},list of Vents turned 'on'= ${ventSwitchesZoneSet}"
// adjust the temperature at the thermostat(s) based on temp sensor if any

if (adjustmentFlag == 'true') {
// set the zoned vent switches to 'on'
def ventSwitchesZoneSet= control_vent_switches_in_zone(i)
log.debug "setZoneSettings>schedule ${scheduleName},list of Vents turned 'on'= ${ventSwitchesZoneSet}"
// adjust the temperature at the thermostat(s) based on temp sensor if any
adjust_thermostat_setpoint_in_zone(i)
set_fan_mode(i)
}
Expand Down

0 comments on commit 2c40ef3

Please sign in to comment.