summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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");