Skip to content

Commit

Permalink
v1.0 Corrected setZoneSettings()
Browse files Browse the repository at this point in the history
  • Loading branch information
yracine committed Nov 17, 2015
1 parent a60c6c4 commit b0596e3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions smartapps/ScheduleRoomTempControl
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 "ScheduleRoomTempControl, the smartapp that enables better temp control in rooms based on Smart Vents"
paragraph "Version 0.6"
paragraph "Version 1.0"
paragraph "If you like this smartapp, please support the developer via PayPal and click on the Paypal link below "
href url: "https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=yracine%40yahoo%2ecom&lc=US&item_name=Maisons%20ecomatiq&no_note=0&currency_code=USD&bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHostedGuest",
title:"Paypal donation..."
Expand Down Expand Up @@ -648,8 +648,8 @@ def setZoneSettings() {
String operatingState = thermostat.currentThermostatOperatingState
// let's adjust the vent settings according to desired Temp only if thermostat is not idle or was not idle at the last run

if ((setVentSettings=='true') && ((operatingState.toUpperCase() !='IDLE') ||
((state?.operatingState.toUpperCase() =='HEATING') || (state?.operatingState.toUpperCase() =='COOLING'))))
if ((operatingState.toUpperCase() !='IDLE') ||
((state?.operatingState.toUpperCase() =='HEATING') || (state?.operatingState.toUpperCase() =='COOLING')))
{
log.debug "setZoneSettings>thermostat ${thermostat}'s Operating State is ${operatingState} or was just recently " +
"${state?.operatingState}, adjusting the vents for schedule ${scheduleName}"
Expand Down

0 comments on commit b0596e3

Please sign in to comment.