Fix wrong preset and removed sensor in master bedroom climate flow

This commit is contained in:
2024-07-22 04:40:21 -04:00
parent 0bb7f97e6e
commit 672c0c258a

View File

@ -7,7 +7,6 @@ const ac = global.get('mb_aircon_installed', "diskCon")
const temp = global.get("tempStr") const temp = global.get("tempStr")
const payload = msg.payload const payload = msg.payload
const vacation = states['input_boolean.vacation_mode'].state const vacation = states['input_boolean.vacation_mode'].state
const highTemp = states['sensor.today_corrected_high_temp'].state
const dayTemp = states['input_number.master_bedroom_daytime_temp'].state const dayTemp = states['input_number.master_bedroom_daytime_temp'].state
const nightTemp = states['input_number.master_bedroom_night_temp'].state const nightTemp = states['input_number.master_bedroom_night_temp'].state
const bedTemp = states['input_number.master_bedroom_bedtime_temp'].state const bedTemp = states['input_number.master_bedroom_bedtime_temp'].state
@ -118,9 +117,9 @@ if (time === 'day') {
setHvac = 'off' setHvac = 'off'
} }
if (hotDay === 'on') { if (hotDay === 'on') {
setEco = 'off' setEco = 'none'
} else { } else {
setEco = 'on' setEco = 'eco'
} }
} }
} }