Fix wrong climate time duration

This commit is contained in:
Linus Dietz
2023-06-24 16:35:44 +02:00
parent 2b510d4e1b
commit 8f6d664264
+1 -1
View File
@@ -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":