From c79b945ca0671ea4f6c9ff0d0c2a8882ca676bbd Mon Sep 17 00:00:00 2001 From: Till Steinbach Date: Fri, 17 Nov 2023 08:41:19 +0100 Subject: [PATCH] fix linter --- weconnect/elements/timer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/weconnect/elements/timer.py b/weconnect/elements/timer.py index 3e0b438..57cce06 100644 --- a/weconnect/elements/timer.py +++ b/weconnect/elements/timer.py @@ -148,7 +148,7 @@ def update(self, fromDict): self.startDateTime.setValueWithCarTime(robustTimeParse(fromDict["startDateTime"]), lastUpdateFromCar=None, fromServer=True) else: self.startDateTime.enabled = False - + if 'startDateTimeLocal' in fromDict: self.startDateTimeLocal.setValueWithCarTime(robustTimeParse(fromDict["startDateTimeLocal"]), lastUpdateFromCar=None, fromServer=True) else: