From 30a4c75692e262649d39bbca095e149ef0674c26 Mon Sep 17 00:00:00 2001 From: z-jun Date: Thu, 18 Jan 2024 17:45:10 +0100 Subject: [PATCH] Fix unsplit mode in control panel --- custom_components/jablotron80/alarm_control_panel.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/custom_components/jablotron80/alarm_control_panel.py b/custom_components/jablotron80/alarm_control_panel.py index a0352f0..3916be6 100644 --- a/custom_components/jablotron80/alarm_control_panel.py +++ b/custom_components/jablotron80/alarm_control_panel.py @@ -221,7 +221,7 @@ def state(self) -> str: return STATE_ALARM_TRIGGERED elif zone.status == JablotronZone.STATUS_ARMED and self._cu.mode == JA80CentralUnit.SYSTEM_MODE_UNSPLIT: - return STATE_ALARM_ARMED_HOME + return STATE_ALARM_ARMED_AWAY elif zone.status == JablotronZone.STATUS_ARMED and self._cu.mode == JA80CentralUnit.SYSTEM_MODE_SPLIT and not zone == self._object: return STATE_ALARM_ARMED_AWAY