From afa81660ad262b63a7c5f5d1d4cb90aa98298b37 Mon Sep 17 00:00:00 2001 From: Renat Khaliullin Date: Sun, 3 Nov 2024 06:44:05 -0700 Subject: [PATCH] fix: made heating parameter binary in KiaUvoAPIUSA (#668) --- hyundai_kia_connect_api/KiaUvoAPIUSA.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/hyundai_kia_connect_api/KiaUvoAPIUSA.py b/hyundai_kia_connect_api/KiaUvoAPIUSA.py index 8c14d39b..e11f147c 100644 --- a/hyundai_kia_connect_api/KiaUvoAPIUSA.py +++ b/hyundai_kia_connect_api/KiaUvoAPIUSA.py @@ -648,9 +648,9 @@ def start_climate( "airCtrl": options.climate, "defrost": options.defrost, "heatingAccessory": { - "rearWindow": int(options.heating), - "sideMirror": int(options.heating), - "steeringWheel": int(options.heating), + "rearWindow": 1 if options.heating in [3, 4] else 0, + "sideMirror": 1 if options.heating == 4 else 0, + "steeringWheel": 1 if options.heating in [2, 4] else 0, }, "ignitionOnDuration": { "unit": 4,