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
438 stars 88 forks source link

Unknown error during setup #958

Open Frankenberrypi opened 6 days ago

Frankenberrypi commented 6 days ago

Region and Brand of car US, Hyundai

Version of the integration 2.28.1

Describe the bug On setup the GUI reports "Unknown error occurred"

Debug logs if an error occurred

Logger: homeassistant.config_entries
Source: config_entries.py:594
First occurred: 11:44:08 AM (1 occurrences)
Last logged: 11:44:08 AM

Error setting up entry Hyundai USA JeffreyJBeckman@gmail.com for kia_uvo
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 594, in async_setup
    result = await component.async_setup_entry(hass, self)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/kia_uvo/__init__.py", line 52, in async_setup_entry
    await coordinator.async_config_entry_first_refresh()
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 281, in async_config_entry_first_refresh
    await self._async_refresh(
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 354, in _async_refresh
    self.data = await self._async_update_data()
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/kia_uvo/coordinator.py", line 126, in _async_update_data
    await self.hass.async_add_executor_job(
asyncio.exceptions.CancelledError

To Reproduce Setup a new instance selecting the US region and Hyundai brand.

Expected behavior Add new device.

Screenshots image

Additional context My best guess is that this has something to do with authorization. When I log with the app or website it asks to send a verification code via text or email, maybe that's missing now.

cdnninja commented 6 days ago

This doesn't support mfa. Maybe try disable that and see if it works?