Fix master bedroom sleep flow API error
This commit is contained in:
@ -158,10 +158,14 @@ if (time === 'day') {
|
|||||||
setHvac = 'cool'
|
setHvac = 'cool'
|
||||||
} else if (acMode === 'Fan') {
|
} else if (acMode === 'Fan') {
|
||||||
setHvac = "fan_only"
|
setHvac = "fan_only"
|
||||||
|
} else {
|
||||||
|
setHvac = "off"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (fanMode === 'Fan') {
|
if (fanMode === 'Fan') {
|
||||||
setFan = 'turn_on'
|
setFan = 'turn_on'
|
||||||
|
} else {
|
||||||
|
setFan = 'turn_off'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
node.log("Master Bedroom Climate: Decision Logic Complete")
|
node.log("Master Bedroom Climate: Decision Logic Complete")
|
||||||
|
Reference in New Issue
Block a user