From 672c0c258a6616082d98d47e6b9b810646a2138c Mon Sep 17 00:00:00 2001 From: Tony Stork Date: Mon, 22 Jul 2024 04:40:21 -0400 Subject: [PATCH] Fix wrong preset and removed sensor in master bedroom climate flow --- climate/master-bedroom/processing.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/climate/master-bedroom/processing.js b/climate/master-bedroom/processing.js index cea9dce..ae8519d 100644 --- a/climate/master-bedroom/processing.js +++ b/climate/master-bedroom/processing.js @@ -7,7 +7,6 @@ const ac = global.get('mb_aircon_installed', "diskCon") const temp = global.get("tempStr") const payload = msg.payload 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 nightTemp = states['input_number.master_bedroom_night_temp'].state const bedTemp = states['input_number.master_bedroom_bedtime_temp'].state @@ -118,9 +117,9 @@ if (time === 'day') { setHvac = 'off' } if (hotDay === 'on') { - setEco = 'off' + setEco = 'none' } else { - setEco = 'on' + setEco = 'eco' } } }