Hyundai-Kia-Connect / kia_uvo

A Home Assistant HACS integration that supports Kia Connect(Uvo) and Hyundai Bluelink. The integration supports the EU, Canada and the USA.
MIT License
428 stars 85 forks source link

set charge limite reversed (AC sets DC and DC sets AC) #320

Closed zadigre closed 2 years ago

zadigre commented 2 years ago

Hyundai Kona Electric 2021 Canadian Bluelink

set charge limit is somewhat working... calling the service will see the DC to what was sent for AC and AC what was sent to for DC (they are essentially reversed).

2022-04-18 11:32:30 DEBUG (SyncWorker_8) [custom_components.kia_uvo.KiaUvoApiCA] kia_uvo - Received Pin validation response <Response [200]> 2022-04-18 11:33:01 DEBUG (SyncWorker_8) [custom_components.kia_uvo.KiaUvoApiCA] kia_uvo - Received set_charge_limits response {'responseHeader': {'responseCode': 0, 'responseDesc': 'Success'}, 'result': [{'plugType': 0, 'level': 80, 'dte': {'rangeByFuel': {'gasModeRange': {'value': 0.0, 'unit': 1}, 'evModeRange': {'value': 337.0, 'unit': 1}, 'totalAvailableRange': {'value': 337.0, 'unit': 1}}, 'type': 2}}, {'plugType': 1, 'level': 100, 'dte': {'rangeByFuel': {'gasModeRange': {'value': 0.0, 'unit': 1}, 'evModeRange': {'value': 337.0, 'unit': 1}, 'totalAvailableRange': {'value': 337.0, 'unit': 1}}, 'type': 2}}]}

Capture d’écran, le 2022-04-18 à 11 32 44 IMG_1452

I get this result no matter where I set the charge limit (automation or development tools).

cdnninja commented 2 years ago

Thanks for catching this. I just updated the order. Please download the current from HACS "latest" and retest. It should be resolved.

zadigre commented 2 years ago

I guess by "latest" you mean master... I redownloaded master and it's working fine now.

cdnninja commented 2 years ago

Great thanks for letting me know.

On Apr 18, 2022, at 10:25 AM, zadigre @.***> wrote:

 I guess by "latest" you mean master... I redownloaded master and it's working fine now.

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.