Fix master bedroom sleep flow API error

This commit is contained in:
2023-10-11 12:19:16 -04:00
parent 343b27e812
commit d332225b41

View File

@ -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")