From 77abe8f8be6fd02b3f3d878d0615d1aee7b4bc8d Mon Sep 17 00:00:00 2001 From: Kirubakaran Date: Fri, 22 Aug 2025 02:49:37 +0530 Subject: [PATCH] fix(door status): Inverted the door status --- ui/widgets.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/widgets.py b/ui/widgets.py index e4eeb5f..12dee41 100644 --- a/ui/widgets.py +++ b/ui/widgets.py @@ -149,7 +149,7 @@ class ChamberWidget(QGroupBox): self.slot_temp_field.setText(f'{data.get("slotTemperature", 0) / 10.0:.1f} °C') self.chg_temp_field.setText(f'{data.get("chargerTemp", 0) / 10.0:.1f} °C') self.charger_fault_field.setText(str(data.get("chargerFaultCode", 0))) - door_status = "CLOSED" if data.get("doorStatus") == 1 else "OPEN" + door_status = "OPEN" if data.get("doorStatus") == 1 else "CLOSED" self.door_status_field.setText(door_status) def reset_to_default(self):