Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set AC charging current #984

Open
eekhoorn opened this issue Dec 1, 2024 · 1 comment
Open

Set AC charging current #984

eekhoorn opened this issue Dec 1, 2024 · 1 comment

Comments

@eekhoorn
Copy link

eekhoorn commented Dec 1, 2024

Niro EV - EU

Version 2.3.1

When setting the AC charging current to 60%

Log:
Logger: homeassistant.components.websocket_api.http.connection
Source: components/websocket_api/commands.py:245
integration: Home Assistant WebSocket API (documentation, issues)
First occurred: 18:10:27 (2 occurrences)
Last logged: 18:10:34

[140481066258000] Unexpected exception
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 245, in handle_call_service
response = await hass.services.async_call(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/core.py", line 2802, in async_call
response_data = await coro
^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/core.py", line 2845, in _execute_service
return await target(service_call)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/kia_uvo/services.py", line 162, in async_handle_set_charging_current
await coordinator.set_charging_current(vehicle_id, int(current_level))
File "/config/custom_components/kia_uvo/coordinator.py", line 270, in set_charging_current
action_id = await self.hass.async_add_executor_job(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/hyundai_kia_connect_api/VehicleManager.py", line 178, in set_charging_current
return self.api.set_charging_current(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/hyundai_kia_connect_api/KiaUvoApiEU.py", line 1327, in set_charging_current
_check_response_for_errors(response)
File "/usr/local/lib/python3.12/site-packages/hyundai_kia_connect_api/KiaUvoApiEU.py", line 129, in _check_response_for_errors
raise error_code_mappingresponse["resCode"]
hyundai_kia_connect_api.exceptions.DeviceIDError: Invalid request body - Invalid deviceId.

@eekhoorn
Copy link
Author

eekhoorn commented Dec 1, 2024

Additional HA message: Failed to perform the action kia_uvo/set_charging_current. Invalid request body - Invalid deviceId.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant