This commit is contained in:
firestar5683
2026-08-18 17:28:05 -05:00
committed by whoisdomi
parent b9cd54f407
commit 05331a78c9
12 changed files with 141 additions and 65 deletions
+2 -2
View File
@@ -122,9 +122,9 @@ class Sidebar(Widget):
thermal_status = device_state.thermalStatus
temperature = f"{int(device_state.maxTempC)}°C"
if thermal_status == ThermalStatus.green:
if thermal_status == ThermalStatus.ok:
self._temp_status.update(tr_noop("TEMP"), temperature, Colors.GOOD)
elif thermal_status == ThermalStatus.yellow:
elif thermal_status == ThermalStatus.warmDEPRECATED:
self._temp_status.update(tr_noop("TEMP"), temperature, Colors.WARNING)
else:
self._temp_status.update(tr_noop("TEMP"), temperature, Colors.DANGER)