From 333c2e1ae7878d42c5112755f646dfdcc8d7cfca Mon Sep 17 00:00:00 2001 From: Jon Ziebell Date: Mon, 2 Sep 2024 05:38:07 -0400 Subject: [PATCH] Fixed "System off" sometimes showing between stage transitions --- js/beestat/runtime_thermostat.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/js/beestat/runtime_thermostat.js b/js/beestat/runtime_thermostat.js index db0e9a2..0dde08d 100644 --- a/js/beestat/runtime_thermostat.js +++ b/js/beestat/runtime_thermostat.js @@ -388,10 +388,10 @@ beestat.runtime_thermostat.get_data = function(thermostat_id, range, key) { if ( durations.off_heat_cool.seconds === 0 && ( - runtime_thermostat.compressor_1 < 300 && - runtime_thermostat.compressor_2 < 300 && - runtime_thermostat.auxiliary_heat_1 < 300 && - runtime_thermostat.auxiliary_heat_2 < 300 + (runtime_thermostat.compressor_1 + + runtime_thermostat.compressor_2) < 300 && + (runtime_thermostat.auxiliary_heat_1 + + runtime_thermostat.auxiliary_heat_2) < 300 ) ) { // If currently running and it stops.