Closed Symbiot78 closed 2 years ago
Are you able to add the detailed logging? How to do so is outlined in the bottom of this:
As well which region/brand do you use?
UK v2.0.1
This error is a rather common EU error. It means the API isn't responding right now. Typically a restart after some time passes resolves it. The old integration had this same issue. We may need to find a way to handle this.
Hi .. I am in Europe. I tried the update version. And ended with same error as @smartkrskrab . This is the first time I've seen that error.
@cdnninja - can it in any way be related to the kia/hyundai servers looking for headers coming from mobile devices?
In another integration where there's cloud communication we found that headers with mobile data made a big difference..
def __init__(self): self.session = requests.Session() headers = {'User-Agent': 'Dalvik/2.1.0 (Linux; U; Android'} self.session.headers.update(headers)
Different error, v2.0.1
Logger: custom_components.kia_uvo.coordinator
Source: custom_components/kia_uvo/coordinator.py:104
Integration: Kia Uvo / Hyundai Bluelink ([documentation](https://github.com/fuatakgun/kia_uvo), [issues](https://github.com/fuatakgun/kia_uvo/issues))
First occurred: 11:19:23 am (98 occurrences)
Last logged: 0:55:22 pm
Unexpected error fetching kia_uvo data: expected string or bytes-like object
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 205, in _async_refresh
self.data = await self._async_update_data()
File "/config/custom_components/kia_uvo/coordinator.py", line 81, in _async_update_data
await self.async_check_and_refresh_token()
File "/config/custom_components/kia_uvo/coordinator.py", line 104, in async_check_and_refresh_token
await self.hass.async_add_executor_job(
File "/usr/local/lib/python3.10/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/local/lib/python3.10/site-packages/hyundai_kia_connect_api/VehicleManager.py", line 88, in check_and_refresh_token
self.initialize()
File "/usr/local/lib/python3.10/site-packages/hyundai_kia_connect_api/VehicleManager.py", line 51, in initialize
self.update_all_vehicles_with_cached_state()
File "/usr/local/lib/python3.10/site-packages/hyundai_kia_connect_api/VehicleManager.py", line 58, in update_all_vehicles_with_cached_state
self.update_vehicle_with_cached_state(self.get_vehicle(vehicle_id))
File "/usr/local/lib/python3.10/site-packages/hyundai_kia_connect_api/VehicleManager.py", line 61, in update_vehicle_with_cached_state
self.api.update_vehicle_with_cached_state(self.token, vehicle)
File "/usr/local/lib/python3.10/site-packages/hyundai_kia_connect_api/KiaUvoApiEU.py", line 319, in update_vehicle_with_cached_state
self.get_last_updated_at(get_child_value(state, "vehicleLocation.time")),
File "/usr/local/lib/python3.10/site-packages/hyundai_kia_connect_api/KiaUvoApiEU.py", line 165, in get_last_updated_at
m = re.match(r"(\d{4})(\d{2})(\d{2})(\d{2})(\d{2})(\d{2})", value)
File "/usr/local/lib/python3.10/re.py", line 190, in match
return _compile(pattern, flags).match(string)
TypeError: expected string or bytes-like object
@cdnninja - I’ll admit I’ve restarted my HA maybe 12 times today over that last 6 hours
but for the first time ever since installing this integration my BlueLink app just told me I’ve exceeded my daily updates check I opened the BlueLink app to unlock my car
Can it have anything to do with this? Configuration is set to 60 minute scan interval And 240 force refresh
It could be an extended blue link outage. Could you try again today. And if still an issue @fuatakgun can you look into this?
I switched back to 1.8.0 and all works fine
Different error, v2.0.1
Logger: custom_components.kia_uvo.coordinator Source: custom_components/kia_uvo/coordinator.py:104 Integration: Kia Uvo / Hyundai Bluelink ([documentation](https://github.com/fuatakgun/kia_uvo), [issues](https://github.com/fuatakgun/kia_uvo/issues)) First occurred: 11:19:23 am (98 occurrences) Last logged: 0:55:22 pm Unexpected error fetching kia_uvo data: expected string or bytes-like object Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 205, in _async_refresh self.data = await self._async_update_data() File "/config/custom_components/kia_uvo/coordinator.py", line 81, in _async_update_data await self.async_check_and_refresh_token() File "/config/custom_components/kia_uvo/coordinator.py", line 104, in async_check_and_refresh_token await self.hass.async_add_executor_job( File "/usr/local/lib/python3.10/concurrent/futures/thread.py", line 58, in run result = self.fn(*self.args, **self.kwargs) File "/usr/local/lib/python3.10/site-packages/hyundai_kia_connect_api/VehicleManager.py", line 88, in check_and_refresh_token self.initialize() File "/usr/local/lib/python3.10/site-packages/hyundai_kia_connect_api/VehicleManager.py", line 51, in initialize self.update_all_vehicles_with_cached_state() File "/usr/local/lib/python3.10/site-packages/hyundai_kia_connect_api/VehicleManager.py", line 58, in update_all_vehicles_with_cached_state self.update_vehicle_with_cached_state(self.get_vehicle(vehicle_id)) File "/usr/local/lib/python3.10/site-packages/hyundai_kia_connect_api/VehicleManager.py", line 61, in update_vehicle_with_cached_state self.api.update_vehicle_with_cached_state(self.token, vehicle) File "/usr/local/lib/python3.10/site-packages/hyundai_kia_connect_api/KiaUvoApiEU.py", line 319, in update_vehicle_with_cached_state self.get_last_updated_at(get_child_value(state, "vehicleLocation.time")), File "/usr/local/lib/python3.10/site-packages/hyundai_kia_connect_api/KiaUvoApiEU.py", line 165, in get_last_updated_at m = re.match(r"(\d{4})(\d{2})(\d{2})(\d{2})(\d{2})(\d{2})", value) File "/usr/local/lib/python3.10/re.py", line 190, in match return _compile(pattern, flags).match(string) TypeError: expected string or bytes-like object
This looks like a mapping issue. Could I get the logs proceeding it? Should have a dump about the car with a field named vehicleLocation.time in it.
That was the only thing in the logs
You will need to turn debug on for this. Outlined here at the very bottom: https://github.com/fuatakgun/kia_uvo/tree/v2.0
I also think v2.0.15 solves this.
I tried v2.0.15, still the same. Debug logs below:
2022-11-05 12:23:10.134 DEBUG (SyncWorker_0) [hyundai_kia_connect_api.KiaUvoApiEU] hyundai_kia_connect_api - get_stamp 2022-11-05 09:03:10.881000+00:00 120000 99 998 99.99378125833333
2022-11-05 12:23:10.585 DEBUG (SyncWorker_0) [hyundai_kia_connect_api.KiaUvoApiEU] hyundai_kia_connect_api - Get Device ID request {'ccsp-service-id': 'xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxx', 'ccsp-application-id': 'xxxxxxx-xxxxx-xxxx-xxxx-xxxxxxx', 'Stamp': 'xxxxxxxxxxxxxxxxxxxx/xxxxxxxxxxxxxxxxxxxxx/g0/wlg2y40uIo=', 'Content-Type': 'application/json;charset=UTF-8', 'Host': 'prd.eu-ccapi.kia.com:8080', 'Connection': 'Keep-Alive', 'Accept-Encoding': 'gzip', 'User-Agent': 'okhttp/3.12.0'} {'pushRegId': 1, 'pushType': 'GCM', 'uuid': 'xxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx'}
2022-11-05 12:23:10.586 DEBUG (SyncWorker_0) [hyundai_kia_connect_api.KiaUvoApiEU] hyundai_kia_connect_api - Get Device ID response {'retCode': 'S', 'resCode': '0000', 'resMsg': {'deviceId': 'xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxx'}, 'msgId': 'xxxxxxx-xxxx-xxxx-xxxx-xxxxxxxx'}
2022-11-05 12:23:10.586 DEBUG (SyncWorker_0) [hyundai_kia_connect_api.KiaUvoApiEU] hyundai_kia_connect_api - Get cookies request https://prd.eu-ccapi.kia.com:8080/api/v1/user/oauth2/authorize?response_type=code&state=test&client_id=xxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxxxxxx&redirect_uri=https://prd.eu-ccapi.kia.com:8080/api/v1/user/oauth2/redirect&lang=en
2022-11-05 12:23:10.785 DEBUG (SyncWorker_0) [hyundai_kia_connect_api.KiaUvoApiEU] hyundai_kia_connect_api - Get cookies response {'TS01xxxxx': 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx', 'account': 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx.xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'}
2022-11-05 12:23:11.309 DEBUG (SyncWorker_0) [hyundai_kia_connect_api.KiaUvoApiEU] hyundai_kia_connect_api - Sign In Response {'redirectUrl': 'https://prd.eu-ccapi.kia.com:8080/api/v1/user/oauth2/redirect?code=xxxxxxxxxxxxxxxxxxxxxxxx&state=test', 'popup': False, 'method': '', 'upgrade': False, 'integrated': False, 'deleteAccountLink': ''}
2022-11-05 12:23:11.309 DEBUG (SyncWorker_0) [hyundai_kia_connect_api.KiaUvoApiEU] hyundai_kia_connect_api - Get Access Token Data {'Authorization': 'Basic xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx==', 'Stamp': 'xxxxxxxxxxxxxxxxxxxxx/xxxxxxxxxxxxxxxxxxxxxxxxx/g0/xxxxxxxxxxxx=', 'Content-type': 'application/x-www-form-urlencoded', 'Host': 'prd.eu-ccapi.kia.com:8080', 'Connection': 'close', 'Accept-Encoding': 'gzip, deflate', 'User-Agent': 'okhttp/3.12.0'}grant_type=authorization_code&redirect_uri=https%3A%2F%2Fprd.eu-ccapi.kia.com%3A8080%2Fapi%2Fv1%2Fuser%2Foauth2%2Fredirect&code=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
2022-11-05 12:23:11.559 DEBUG (SyncWorker_0) [hyundai_kia_connect_api.KiaUvoApiEU] hyundai_kia_connect_api - Get Access Token Response {'access_token': 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx.xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx.xxxxxxxxxxxxxxx-xxxxxxxxxxxxxxx-xxxxxxxxxxxxxxxxxxxxx-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx-xxxxxxxxxxxxxxxxxxxxxxxxxxxx-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx', 'token_type': 'Bearer', 'refresh_token': 'xxxxxxxxxxxxxxxxx-xxxxxxxxxxxxxxxxxxxx', 'expires_in': 86400}
2022-11-05 12:23:11.559 DEBUG (SyncWorker_0) [hyundai_kia_connect_api.KiaUvoApiEU] hyundai_kia_connect_api - Access Token Value Bearer xxxxxxxxxxxxxxxxxxxxxxxxx.xxxxxxxxxxxxxxxxxxxxxxxxxx.xxxxxxxxxxxxx-xxxxxxxxxxxxx-xxxxxxxxxxxxxxxxx-xxxxxxxxxxxxxxxxx-xxxxxxxxxxxxxxx-xxxxxxxxxxxxxxxxxxx-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
2022-11-05 12:23:11.560 DEBUG (SyncWorker_0) [hyundai_kia_connect_api.KiaUvoApiEU] hyundai_kia_connect_api - Get Refresh Token Data grant_type=refresh_token&redirect_uri=https%3A%2F%2Fwww.getpostman.com%2Foauth2%2Fcallback&refresh_token=xxxxx-xxxxxxxxxxxxxxxxxxxx
2022-11-05 12:23:12.123 DEBUG (SyncWorker_0) [hyundai_kia_connect_api.KiaUvoApiEU] hyundai_kia_connect_api - Get Refresh Token Response {'access_token': 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx.xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx.xxxxxxxxxxx-xxxxxxxxxxxxxxx-xxxxxxxxxxxxxxxxx-xxxxxxxxxxxxxxxxxxx-xxxxxxxxxxxxxxxxxxxxxx-xxxxxxxxxxxxxxxxxxxxxx-xxxxxxxxxxxxxxxxxxxxxxxxxxx', 'token_type': 'Bearer', 'expires_in': 86400}
2022-11-05 12:23:12.124 DEBUG (SyncWorker_0) [hyundai_kia_connect_api.KiaUvoApiEU] hyundai_kia_connect_api - get_stamp 2022-11-05 09:03:10.881000+00:00 120000 100 998 100.01035955000002
2022-11-05 12:23:12.339 DEBUG (SyncWorker_0) [hyundai_kia_connect_api.KiaUvoApiEU] hyundai_kia_connect_api - Get Vehicles Response {'retCode': 'S', 'resCode': '0000', 'resMsg': {'vehicles': [{'vin': 'U5xxxxxxxxxxxxxxxx', 'vehicleId': 'xxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxx', 'vehicleName': 'CEED (NEW) 18/21', 'type': 'GN', 'nickname': 'PROCEED', 'master': True, 'carShare': 0, 'regDate': '2020-09-08 08:55:59.193', 'detailInfo': {'inColor': 'WK', 'outColor': 'H8G', 'saleCarmdlCd': 'J7', 'bodyType': '1', 'saleCarmdlEnNm': 'ProCeed'}}]}, 'msgId': 'xxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxxx'}
2022-11-05 12:23:12.339 DEBUG (SyncWorker_0) [hyundai_kia_connect_api.KiaUvoApiEU] hyundai_kia_connect_api - get_stamp 2022-11-05 09:03:10.881000+00:00 120000 100 998 100.01215668333333
2022-11-05 12:23:12.554 DEBUG (SyncWorker_0) [hyundai_kia_connect_api.KiaUvoApiEU] hyundai_kia_connect_api - get_cached_vehicle_status response {'vehicleLocation': {'coord': {'lat': 53.xxxxxx, 'lon': -0.xxxxxxxx, 'alt': 1, 'type': 0}, 'head': 226, 'speed': {'value': 21, 'unit': 1}, 'accuracy': {'hdop': 6, 'pdop': 9}, 'time': '20221104173105'}, 'vehicleStatus': {'airCtrlOn': False, 'engine': False, 'doorLock': False, 'doorOpen': {'frontLeft': 0, 'frontRight': 0, 'backLeft': 0, 'backRight': 0}, 'trunkOpen': False, 'airTemp': {'value': '00H', 'unit': 0, 'hvacTempType': 1}, 'defrost': False, 'lowFuelLight': False, 'acc': False, 'hoodOpen': False, 'steerWheelHeat': 0, 'sideBackWindowHeat': 0, 'dte': {'value': 203, 'unit': 3}, 'tirePressureLamp': {'tirePressureLampAll': 0, 'tirePressureLampFL': 0, 'tirePressureLampFR': 0, 'tirePressureLampRL': 0, 'tirePressureLampRR': 0}, 'battery': {'batSoc': 59, 'batState': 0}, 'sleepModeCheck': False, 'time': '20221105070228', 'remoteWaitingTimeAlert': {'remoteControlAvailable': 1, 'remoteControlWaitingTime': 168, 'elapsedTime': '13:17:44'}, 'systemCutOffAlert': 0, 'tailLampStatus': 0, 'hazardStatus': 0}, 'odometer': {'value': 14449.2, 'unit': 1}}
2022-11-05 12:23:12.554 DEBUG (SyncWorker_0) [hyundai_kia_connect_api.KiaUvoApiEU] hyundai_kia_connect_api - get_stamp 2022-11-05 09:03:10.881000+00:00 120000 100 998 100.01394924166667
2022-11-05 12:23:24.936 DEBUG (SyncWorker_0) [hyundai_kia_connect_api.KiaUvoApiEU] hyundai_kia_connect_api - _get_location response {'retCode': 'F', 'resCode': '5031', 'resMsg': 'Unavailable remote control - Service Temporary Unavailable', 'msgId': 'xxxxxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx'}
2022-11-05 12:23:24.936 WARNING (SyncWorker_0) [hyundai_kia_connect_api.KiaUvoApiEU] hyundai_kia_connect_api - _get_location failed
2022-11-05 12:23:24.972 DEBUG (SyncWorker_0) [hyundai_kia_connect_api.KiaUvoApiEU] hyundai_kia_connect_api - last_updated_at - before 20221105070228
2022-11-05 12:23:24.972 DEBUG (SyncWorker_0) [hyundai_kia_connect_api.KiaUvoApiEU] hyundai_kia_connect_api - last_updated_at - after 2022-11-05 07:02:28+01:00
2022-11-05 12:23:24.973 DEBUG (SyncWorker_0) [hyundai_kia_connect_api.KiaUvoApiEU] hyundai_kia_connect_api - SOC Levels couldn't be found. May not be an EV.
2022-11-05 12:23:25.046 ERROR (MainThread) [custom_components.kia_uvo.coordinator] Unexpected error fetching kia_uvo data: expected string or bytes-like object
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 205, in _async_refresh
self.data = await self._async_update_data()
File "/config/custom_components/kia_uvo/coordinator.py", line 81, in _async_update_data
await self.async_check_and_refresh_token()
File "/config/custom_components/kia_uvo/coordinator.py", line 104, in async_check_and_refresh_token
await self.hass.async_add_executor_job(
File "/usr/local/lib/python3.10/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/local/lib/python3.10/site-packages/hyundai_kia_connect_api/VehicleManager.py", line 87, in check_and_refresh_token
self.initialize()
File "/usr/local/lib/python3.10/site-packages/hyundai_kia_connect_api/VehicleManager.py", line 51, in initialize
self.update_all_vehicles_with_cached_state()
File "/usr/local/lib/python3.10/site-packages/hyundai_kia_connect_api/VehicleManager.py", line 58, in update_all_vehicles_with_cached_state
self.update_vehicle_with_cached_state(self.get_vehicle(vehicle_id))
File "/usr/local/lib/python3.10/site-packages/hyundai_kia_connect_api/VehicleManager.py", line 61, in update_vehicle_with_cached_state
self.api.update_vehicle_with_cached_state(self.token, vehicle)
File "/usr/local/lib/python3.10/site-packages/hyundai_kia_connect_api/KiaUvoApiEU.py", line 181, in update_vehicle_with_cached_state
self._update_vehicle_properties(vehicle, state)
File "/usr/local/lib/python3.10/site-packages/hyundai_kia_connect_api/KiaUvoApiEU.py", line 327, in _update_vehicle_properties
self.get_last_updated_at(get_child_value(state, "vehicleLocation.time")),
File "/usr/local/lib/python3.10/site-packages/hyundai_kia_connect_api/KiaUvoApiEU.py", line 165, in get_last_updated_at
m = re.match(r"(\d{4})(\d{2})(\d{2})(\d{2})(\d{2})(\d{2})", value)
File "/usr/local/lib/python3.10/re.py", line 190, in match
return _compile(pattern, flags).match(string)
TypeError: expected string or bytes-like object
Ahh I see what is happening. For some reason get location saying the API can't do this. After that we crash because we don't see what the time was since we didn't get a response. Thanks for this. Exactly the detail we need.
I have release v2.0.16 that is my first attempt to fix this. I can't test easily as I am not in EU. It did pass our integrated EU test which uses someone's car in the EU.
EU v2.0.16 Works, thank you
Only missing range_by_fuel set_temperature fuel_level
Still not working for me this is in the logs
This error originated from a custom integration.
Logger: custom_components.kia_uvo.coordinator Source: custom_components/kia_uvo/coordinator.py:82 Integration: Kia Uvo / Hyundai Bluelink (documentation, issues) First occurred: 19:30:59 (2 occurrences) Last logged: 20:16:50
Unexpected error fetching kia_uvo data: string indices must be integers Unexpected error fetching kia_uvo data: 'vehicleStatusInfo' Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 205, in _async_refresh self.data = await self._async_update_data() File "/config/custom_components/kia_uvo/coordinator.py", line 82, in _async_update_data await self.hass.async_add_executor_job( File "/usr/local/lib/python3.10/concurrent/futures/thread.py", line 58, in run result = self.fn(*self.args, **self.kwargs) File "/usr/local/lib/python3.10/site-packages/hyundai_kia_connect_api/VehicleManager.py", line 73, in check_and_force_update_vehicles self.force_refresh_vehicle_state(vehicle) File "/usr/local/lib/python3.10/site-packages/hyundai_kia_connect_api/VehicleManager.py", line 83, in force_refresh_vehicle_state self.api.force_refresh_vehicle_state(self.token, vehicle) File "/usr/local/lib/python3.10/site-packages/hyundai_kia_connect_api/KiaUvoApiEU.py", line 185, in force_refresh_vehicle_state state = self._get_forced_vehicle_state(token, vehicle) File "/usr/local/lib/python3.10/site-packages/hyundai_kia_connect_api/KiaUvoApiEU.py", line 398, in _get_forced_vehicle_state return response["resMsg"]["vehicleStatusInfo"] TypeError: string indices must be integers
Scrap that, it works with a reinstall. Option for mi. and km is gone though and a few other sensors missing.
Scrap that, it works with a reinstall. Option for mi. and km is gone though and a few other sensors missing.
Any sensors that were listed above? The mi and km option will return. Just need time to work on it. Right now it should follow your home assistant settings.
It does but in the UK we are metric but still use miles so its wrong. Same as above I think. I'll have to roll back to 1.8 and see. Thanks.
Woke up to the integration saying failed to set up
, all entities unavailable and a few errors in the log this morning:
Logger: hyundai_kia_connect_api.KiaUvoApiEU
Source: /usr/local/lib/python3.10/site-packages/hyundai_kia_connect_api/KiaUvoApiEU.py:379
First occurred: November 5, 2022, 8:32:55 PM (3 occurrences)
Last logged: 9:47:58 AM
hyundai_kia_connect_api - _get_location failed
Logger: custom_components.kia_uvo.coordinator
Source: custom_components/kia_uvo/coordinator.py:82
Integration: Hyundai / Kia Connect (documentation, issues)
First occurred: 12:34:50 AM (18 occurrences)
Last logged: 9:35:45 AM
Unexpected error fetching kia_uvo data: string indices must be integers
Unexpected error fetching kia_uvo data: 'vehicleStatusInfo'
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 205, in _async_refresh
self.data = await self._async_update_data()
File "/config/custom_components/kia_uvo/coordinator.py", line 82, in _async_update_data
await self.hass.async_add_executor_job(
File "/usr/local/lib/python3.10/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/local/lib/python3.10/site-packages/hyundai_kia_connect_api/VehicleManager.py", line 73, in check_and_force_update_vehicles
self.force_refresh_vehicle_state(vehicle)
File "/usr/local/lib/python3.10/site-packages/hyundai_kia_connect_api/VehicleManager.py", line 83, in force_refresh_vehicle_state
self.api.force_refresh_vehicle_state(self.token, vehicle)
File "/usr/local/lib/python3.10/site-packages/hyundai_kia_connect_api/KiaUvoApiEU.py", line 185, in force_refresh_vehicle_state
state = self._get_forced_vehicle_state(token, vehicle)
File "/usr/local/lib/python3.10/site-packages/hyundai_kia_connect_api/KiaUvoApiEU.py", line 398, in _get_forced_vehicle_state
return response["resMsg"]["vehicleStatusInfo"]
TypeError: string indices must be integers
Logger: homeassistant.components.number
Source: components/number/__init__.py:117
Integration: Number (documentation, issues)
First occurred: November 5, 2022, 8:32:55 PM (3 occurrences)
Last logged: November 5, 2022, 8:32:55 PM
custom_components.kia_uvo.number is setting deprecated attributes on an instance of NumberEntityDescription, this is not valid and will be unsupported from Home Assistant 2022.10. Please report it to the custom integration author.
custom_components.kia_uvo.number::HyundaiKiaChargingLimitNumber is overriding deprecated methods on an instance of NumberEntity, this is not valid and will be unsupported from Home Assistant 2022.10. Please report it to the custom integration author.
For info
18.0:
Air Conditioner Back Window Heater Car Battery Data Defroster Door - Front Left Door - Front Right Door - Rear Left Door - Rear Right Engine Hood Last Update Low Fuel Light Odometer Range by Fuel Set Temperature Steering Wheel Heater Tire Pressure - All Tire Pressure - Front Left Tire Pressure - Front Right Tire Pressure - Rear Left Tire Pressure - Rear Right Trunk
2.0.16:
Air Conditioner Back Left Door Back Right Door Back Window Heater Car Battery Level Defrost Engine Front Left Door Front Right Door Fuel Low Level Last Updated At Odometer Set Temperature Steering Wheel Heater Trunk
Tires, and hood have been added. Can't remember if hood is released yet but fixed for next.
As for the "string indices must be integers". Looks like the EU API is unreliable. I will need to adjust the code to handle this and ignore it until next polling cycle.
Lets track this over in #424. Could you report back on if this is fixed and how things have been in the last release? Thinking I close this thread out as initial issue and a few posted after have been fixed.
I will close this some time tomorrow or Saturday.
Just tried 2.0.26, Failed to set up. Will post in #424
20.
2022-10-28 21:02:05.926 ERROR (MainThread) [custom_components.kia_uvo.coordinator] Unexpected error fetching kia_uvo data: name 'location' is not defined