From b31a866cf7640f1ab8a0902851aef97d40dfccb2 Mon Sep 17 00:00:00 2001 From: alfrix Date: Sun, 5 May 2024 09:22:05 -0300 Subject: [PATCH] fix issue with temp_fan that broke if show_power was True --- ks_includes/screen_panel.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ks_includes/screen_panel.py b/ks_includes/screen_panel.py index b5fb5401..1865438a 100644 --- a/ks_includes/screen_panel.py +++ b/ks_includes/screen_panel.py @@ -179,7 +179,7 @@ class ScreenPanel: new_label_text += f"/{target:.0f}" if dev not in self.devices: new_label_text += "°" - if show_power: + if show_power and power: if lines == 2: # The label should wrap, but it doesn't work # this is a workaround