From c9e8252a49e959b1b3c9bb46dfec8b973fce5f74 Mon Sep 17 00:00:00 2001 From: G Johansson Date: Wed, 6 Nov 2024 08:38:40 +0100 Subject: [PATCH] Update custom_components/sector/client.py --- custom_components/sector/client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/custom_components/sector/client.py b/custom_components/sector/client.py index 6255893..6f188fa 100644 --- a/custom_components/sector/client.py +++ b/custom_components/sector/client.py @@ -189,7 +189,7 @@ async def _post(self, url, payload): async def arm_system(self, mode): """Arm the alarm system.""" - if mode == "totel": + if mode == "total": url = self.action_endpoints["Arm"][1] elif mode == "partial": url = self.action_endpoints["PartialArm"][1]