From 539d194ef7de149e70a7726b4db54883bd8487c5 Mon Sep 17 00:00:00 2001 From: Kyle Gunger Date: Wed, 20 Nov 2024 05:01:09 -0500 Subject: Hotfix: thermostat color change --- scripts/gui-common/widgets.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/gui-common/widgets.js') 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"); -- cgit v1.2.3