From 894d0058c24280c06a966f85397b04bbc010a765 Mon Sep 17 00:00:00 2001 From: Brett Date: Sun, 4 Feb 2024 01:28:25 +0000 Subject: [PATCH] Fix speed limit unlock --- custom_components/teslemetry/lock.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/custom_components/teslemetry/lock.py b/custom_components/teslemetry/lock.py index 62fbf69..94f0052 100644 --- a/custom_components/teslemetry/lock.py +++ b/custom_components/teslemetry/lock.py @@ -129,5 +129,5 @@ async def async_unlock(self, **kwargs: Any) -> None: if code: self.raise_for_scope() await self.wake_up_if_asleep() - await self.api.speed_limit_activate(code) + await self.api.speed_limit_deactivate(code) self.set((self.key, False)) \ No newline at end of file