summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyle Gunger <kgunger12@gmail.com>2024-11-20 05:01:09 -0500
committerKyle Gunger <kgunger12@gmail.com>2024-11-20 05:01:09 -0500
commit539d194ef7de149e70a7726b4db54883bd8487c5 (patch)
tree81dd0daf83fd5bde9f6e04ea4459eb9812cc3dc0
parent40bf0fb9863fbc9b3d7c3a8a8b6efb596881815a (diff)
Hotfix: thermostat color changeHEADmain
-rw-r--r--scripts/gui-common/widgets.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/gui-common/widgets.js b/scripts/gui-common/widgets.js
index 89a9004..f77c89c 100644
--- a/scripts/gui-common/widgets.js
+++ b/scripts/gui-common/widgets.js
@@ -954,7 +954,7 @@ class WidgetThermostat extends Widget
/** @type {Color} */
let color = null;
let r = gague - temp;
- if (r >= this.get("tw"))
+ if (r > this.get("tw"))
color = this.get("warm");
else if (r >= this.get("ct"))
color = this.get("temp");