Fix wrong preset and removed sensor in master bedroom climate flow
This commit is contained in:
@ -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'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user