From 8f6d66426462f500d1e701dfcc9cf35d6cf2e57b Mon Sep 17 00:00:00 2001 From: Linus Dietz <45101649+Dielee@users.noreply.github.com> Date: Sat, 24 Jun 2023 16:35:44 +0200 Subject: [PATCH] Fix wrong climate time duration --- src/mqtt.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mqtt.py b/src/mqtt.py index 11ca517..23e9ab8 100644 --- a/src/mqtt.py +++ b/src/mqtt.py @@ -56,7 +56,7 @@ def on_message(client, userdata, msg): api_thread.start() assumed_climate_state[vin] = "ON" # Starting timer to disable climate after 30 mins - climate_timer = Timer(1 * 60, volvo.disable_climate, (vin, )) + climate_timer = Timer(30 * 60, volvo.disable_climate, (vin, )) climate_timer.start() update_car_data() elif payload == "OFF":