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

On initial setup config: kia_uvo - Exception in update : 'evStatus' #189

Closed
cdatwood opened this issue Nov 29, 2021 · 5 comments
Closed

Comments

@cdatwood
Copy link

Please check Services, Known Bug / Issues and Troubleshooting over here first: https://github.com/fuatakgun/kia_uvo/blob/master/README.md

Region and Brand of car
Region: USA
Brand: KIA

Describe the bug
After initial install and setup configuration completion, integration fails when trying to start due to exception status in its update payload for evStatus.

Logger: custom_components.kia_uvo.Vehicle
Source: custom_components/kia_uvo/Vehicle.py:81
Integration: Kia Uvo / Hyundai Bluelink (documentation, issues)
First occurred: 9:43:24 AM (1 occurrences)
Last logged: 9:43:24 AM

kia_uvo - Exception in update : 'evStatus' - traceback: Traceback (most recent call last): File "/config/custom_components/kia_uvo/Vehicle.py", line 56, in update self.vehicle_data = await self.hass.async_add_executor_job( File "/usr/local/lib/python3.9/concurrent/futures/thread.py", line 52, in run result = self.fn(*self.args, **self.kwargs) File "/config/custom_components/kia_uvo/KiaUvoAPIUSA.py", line 268, in get_cached_vehicle_status "atc": vehicle_status["evStatus"]["remainChargeTime"][0]["timeInterval"] KeyError: 'evStatus'

Outlined here: https://github.com/fuatakgun/kia_uvo/blob/master/README.m

To Reproduce
Steps to reproduce the behavior:

  1. Install from HACS
  2. Go to Configuration -> Integrations, add UVO integration
  3. Configure with username/password
  4. See error in error log when add on attempts to start

Expected behavior
A clear and concise description of what you expected to happen.

Should run and offer me the correct devices and entities

@cdnninja
Copy link
Collaborator

What version? Could you try one older version?

@cdnninja
Copy link
Collaborator

Could you please try the code in #190 and see if it solves it?

@cdatwood
Copy link
Author

@cdnninja I just made the file modification, let me spin it up and see if that corrects it. And for version, I was using the 1.2.0 branch from HACS.

@cdnninja
Copy link
Collaborator

Sounds good. Let me know once confirmed and I'll merge this fix.

cdnninja added a commit that referenced this issue Dec 1, 2021
* fix: USA KIA Corrected Evstatus error

#189

* fix: black action

Co-authored-by: cdnninja <cdnninja@users.noreply.github.com>
@cdnninja
Copy link
Collaborator

cdnninja commented Dec 3, 2021

I have merged this. Please comment if it isn't resolved.

@cdnninja cdnninja closed this as completed Dec 3, 2021
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

2 participants