Advertisement
Guest User

Untitled

a guest
Sep 17th, 2024
18
0
8 days
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 235.08 KB | None | 0 0
  1. 2024-09-17 16:05:38.743 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration spook_inverse which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
  2. 2024-09-17 16:05:38.744 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration watchman which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
  3. 2024-09-17 16:05:38.744 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration spotcast which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
  4. 2024-09-17 16:05:38.745 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration samsungtv_encrypted which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
  5. 2024-09-17 16:05:38.745 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration simpleicons which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
  6. 2024-09-17 16:05:38.746 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration spook which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
  7. 2024-09-17 16:05:38.747 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration scrypted which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
  8. 2024-09-17 16:05:38.747 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration pirateweather which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
  9. 2024-09-17 16:05:38.748 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration proxmoxve which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
  10. 2024-09-17 16:05:38.749 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration kia_uvo which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
  11. 2024-09-17 16:05:38.749 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration bureau_of_meteorology which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
  12. 2024-09-17 16:05:38.749 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration unifigateway which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
  13. 2024-09-17 16:05:38.750 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration hass_agent_notifier which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
  14. 2024-09-17 16:05:38.750 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration nsw_rural_fire_service_fire_danger which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
  15. 2024-09-17 16:05:38.751 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration google_home which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
  16. 2024-09-17 16:05:38.751 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration localtuya which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
  17. 2024-09-17 16:05:38.751 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration tapo which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
  18. 2024-09-17 16:05:38.752 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration browser_mod which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
  19. 2024-09-17 16:05:38.752 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration hacs which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
  20. 2024-09-17 16:05:38.753 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration worlds_air_quality_index which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
  21. 2024-09-17 16:05:38.753 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration smartthinq_sensors which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
  22. 2024-09-17 16:05:38.754 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration smartir which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
  23. 2024-09-17 16:05:38.754 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration hass_agent which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
  24. 2024-09-17 16:05:38.755 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration hpprinter which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
  25. 2024-09-17 16:05:38.755 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration resmed_myair which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
  26. 2024-09-17 16:05:38.756 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration nodered which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
  27. 2024-09-17 16:05:40.951 WARNING (SyncWorker_0) [py.warnings] /usr/local/lib/python3.12/site-packages/urllib3/connectionpool.py:1064: InsecureRequestWarning: Unverified HTTPS request is being made to host '192.168.1.1'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/1.26.x/advanced-usage.html#ssl-warnings
  28. warnings.warn(
  29.  
  30. 2024-09-17 16:05:41.187 WARNING (ImportExecutor_0) [homeassistant.components.climate.const] HVAC_MODE_OFF was used from smartir, this is a deprecated constant which will be removed in HA Core 2025.1. Use HVACMode.OFF instead, please report it to the author of the 'smartir' custom integration
  31. 2024-09-17 16:05:41.190 WARNING (ImportExecutor_0) [homeassistant.components.climate.const] HVAC_MODE_HEAT was used from smartir, this is a deprecated constant which will be removed in HA Core 2025.1. Use HVACMode.HEAT instead, please report it to the author of the 'smartir' custom integration
  32. 2024-09-17 16:05:41.192 WARNING (ImportExecutor_0) [homeassistant.components.climate.const] HVAC_MODE_COOL was used from smartir, this is a deprecated constant which will be removed in HA Core 2025.1. Use HVACMode.COOL instead, please report it to the author of the 'smartir' custom integration
  33. 2024-09-17 16:05:41.194 WARNING (ImportExecutor_0) [homeassistant.components.climate.const] HVAC_MODE_DRY was used from smartir, this is a deprecated constant which will be removed in HA Core 2025.1. Use HVACMode.DRY instead, please report it to the author of the 'smartir' custom integration
  34. 2024-09-17 16:05:41.196 WARNING (ImportExecutor_0) [homeassistant.components.climate.const] HVAC_MODE_FAN_ONLY was used from smartir, this is a deprecated constant which will be removed in HA Core 2025.1. Use HVACMode.FAN_ONLY instead, please report it to the author of the 'smartir' custom integration
  35. 2024-09-17 16:05:41.198 WARNING (ImportExecutor_0) [homeassistant.components.climate.const] HVAC_MODE_AUTO was used from smartir, this is a deprecated constant which will be removed in HA Core 2025.1. Use HVACMode.AUTO instead, please report it to the author of the 'smartir' custom integration
  36. 2024-09-17 16:05:41.200 WARNING (ImportExecutor_0) [homeassistant.components.climate.const] SUPPORT_TARGET_TEMPERATURE was used from smartir, this is a deprecated constant which will be removed in HA Core 2025.1. Use ClimateEntityFeature.TARGET_TEMPERATURE instead, please report it to the author of the 'smartir' custom integration
  37. 2024-09-17 16:05:41.202 WARNING (ImportExecutor_0) [homeassistant.components.climate.const] SUPPORT_FAN_MODE was used from smartir, this is a deprecated constant which will be removed in HA Core 2025.1. Use ClimateEntityFeature.FAN_MODE instead, please report it to the author of the 'smartir' custom integration
  38. 2024-09-17 16:05:41.204 WARNING (ImportExecutor_0) [homeassistant.components.climate.const] SUPPORT_SWING_MODE was used from smartir, this is a deprecated constant which will be removed in HA Core 2025.1. Use ClimateEntityFeature.SWING_MODE instead, please report it to the author of the 'smartir' custom integration
  39. 2024-09-17 16:05:41.300 WARNING (SyncWorker_5) [py.warnings] /usr/local/lib/python3.12/site-packages/urllib3/connectionpool.py:1064: InsecureRequestWarning: Unverified HTTPS request is being made to host '192.168.1.1'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/1.26.x/advanced-usage.html#ssl-warnings
  40. warnings.warn(
  41.  
  42. 2024-09-17 16:05:41.799 WARNING (MainThread) [homeassistant.helpers.frame] Detected that custom integration 'scrypted' calls async_forward_entry_setup for integration, scrypted with title: 192.168.1.108 and entry_id: 2a220b135ee77ab0629e137be340b559, which is deprecated and will stop working in Home Assistant 2025.6, await async_forward_entry_setups instead at custom_components/scrypted/__init__.py, line 102: return await hass.config_entries.async_forward_entry_setup(, please create a bug report at https://github.com/koush/ha_scrypted/issues
  43. 2024-09-17 16:05:41.860 WARNING (MainThread) [homeassistant.helpers.frame] Detected that custom integration 'localtuya' accesses hass.helpers.service. This is deprecated and will stop working in Home Assistant 2024.11, it should be updated to import functions used from service directly at custom_components/localtuya/__init__.py, line 165: hass.helpers.service.async_register_admin_service(, please create a bug report at https://github.com/rospogrigio/localtuya/issues
  44. 2024-09-17 16:05:41.903 WARNING (MainThread) [homeassistant.util.loop] Detected blocking call to open with args ('/config/custom_components/smartir/codes/climate/1129.json',) inside the event loop by custom integration 'smartir' at custom_components/smartir/climate.py, line 85: with open(device_json_path) as j: (offender: /config/custom_components/smartir/climate.py, line 85: with open(device_json_path) as j:), please report it to the author of the 'smartir' custom integration
  45. For developers, please see https://developers.home-assistant.io/docs/asyncio_blocking_operations/#open
  46. Traceback (most recent call last):
  47. File "<frozen runpy>", line 198, in _run_module_as_main
  48. File "<frozen runpy>", line 88, in _run_code
  49. File "/usr/src/homeassistant/homeassistant/__main__.py", line 223, in <module>
  50. sys.exit(main())
  51. File "/usr/src/homeassistant/homeassistant/__main__.py", line 209, in main
  52. exit_code = runner.run(runtime_conf)
  53. File "/usr/src/homeassistant/homeassistant/runner.py", line 189, in run
  54. return loop.run_until_complete(setup_and_run_hass(runtime_config))
  55. File "/usr/local/lib/python3.12/asyncio/base_events.py", line 674, in run_until_complete
  56. self.run_forever()
  57. File "/usr/local/lib/python3.12/asyncio/base_events.py", line 641, in run_forever
  58. self._run_once()
  59. File "/usr/local/lib/python3.12/asyncio/base_events.py", line 1990, in _run_once
  60. handle._run()
  61. File "/usr/local/lib/python3.12/asyncio/events.py", line 88, in _run
  62. self._context.run(self._callback, *self._args)
  63. File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 308, in async_setup_platform
  64. await self._platforms[key].async_setup(platform_config, discovery_info)
  65. File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 298, in async_setup
  66. await self._async_setup_platform(async_create_setup_awaitable)
  67. File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 358, in _async_setup_platform
  68. awaitable = create_eager_task(awaitable, loop=hass.loop)
  69. File "/usr/src/homeassistant/homeassistant/util/async_.py", line 45, in create_eager_task
  70. return Task(coro, loop=loop, name=name, eager_start=True)
  71. File "/config/custom_components/smartir/climate.py", line 85, in async_setup_platform
  72. with open(device_json_path) as j:
  73.  
  74. 2024-09-17 16:05:41.941 WARNING (MainThread) [homeassistant.helpers.entity] Entity None (<class 'custom_components.smartir.climate.SmartIRClimate'>) is using deprecated supported features values which will be removed in HA Core 2025.1. Instead it should use <ClimateEntityFeature.TARGET_TEMPERATURE|FAN_MODE|SWING_MODE: 41>, please report it to the author of the 'smartir' custom integration and reference https://developers.home-assistant.io/blog/2023/12/28/support-feature-magic-numbers-deprecation
  75. 2024-09-17 16:05:41.941 WARNING (MainThread) [homeassistant.components.climate] Entity None (<class 'custom_components.smartir.climate.SmartIRClimate'>) does not set ClimateEntityFeature.TURN_OFF but implements the turn_off method. Please report it to the author of the 'smartir' custom integration
  76. 2024-09-17 16:05:41.941 WARNING (MainThread) [homeassistant.components.climate] Entity None (<class 'custom_components.smartir.climate.SmartIRClimate'>) does not set ClimateEntityFeature.TURN_ON but implements the turn_on method. Please report it to the author of the 'smartir' custom integration
  77. 2024-09-17 16:05:41.941 WARNING (MainThread) [homeassistant.components.climate] Entity None (<class 'custom_components.smartir.climate.SmartIRClimate'>) implements HVACMode(s): off, auto, cool, dry, heat and therefore implicitly supports the turn_on/turn_off methods without setting the proper ClimateEntityFeature. Please report it to the author of the 'smartir' custom integration
  78. 2024-09-17 16:05:41.944 WARNING (MainThread) [homeassistant.helpers.frame] Detected that custom integration 'smartir' calls `async_track_state_change` instead of `async_track_state_change_event` which is deprecated and will be removed in Home Assistant 2025.5 at custom_components/smartir/climate.py, line 175: async_track_state_change(self.hass, self._temperature_sensor,, please report it to the author of the 'smartir' custom integration
  79. 2024-09-17 16:05:41.953 WARNING (MainThread) [homeassistant.helpers.frame] Detected that custom integration 'smartir' calls `async_track_state_change` instead of `async_track_state_change_event` which is deprecated and will be removed in Home Assistant 2025.5 at custom_components/smartir/climate.py, line 183: async_track_state_change(self.hass, self._humidity_sensor,, please report it to the author of the 'smartir' custom integration
  80. 2024-09-17 16:05:41.992 WARNING (MainThread) [homeassistant.helpers.entity] Entity None (<class 'custom_components.smartir.climate.SmartIRClimate'>) is using deprecated supported features values which will be removed in HA Core 2025.1. Instead it should use <ClimateEntityFeature.TARGET_TEMPERATURE|FAN_MODE|SWING_MODE: 41>, please report it to the author of the 'smartir' custom integration and reference https://developers.home-assistant.io/blog/2023/12/28/support-feature-magic-numbers-deprecation
  81. 2024-09-17 16:05:41.992 WARNING (MainThread) [homeassistant.components.climate] Entity None (<class 'custom_components.smartir.climate.SmartIRClimate'>) does not set ClimateEntityFeature.TURN_OFF but implements the turn_off method. Please report it to the author of the 'smartir' custom integration
  82. 2024-09-17 16:05:41.992 WARNING (MainThread) [homeassistant.components.climate] Entity None (<class 'custom_components.smartir.climate.SmartIRClimate'>) does not set ClimateEntityFeature.TURN_ON but implements the turn_on method. Please report it to the author of the 'smartir' custom integration
  83. 2024-09-17 16:05:41.992 WARNING (MainThread) [homeassistant.components.climate] Entity None (<class 'custom_components.smartir.climate.SmartIRClimate'>) implements HVACMode(s): off, auto, cool, dry, heat and therefore implicitly supports the turn_on/turn_off methods without setting the proper ClimateEntityFeature. Please report it to the author of the 'smartir' custom integration
  84. 2024-09-17 16:05:42.071 DEBUG (SyncWorker_6) [hyundai_kia_connect_api.KiaUvoApiAU] hyundai_kia_connect_api - Get Device ID request: {'ccsp-service-id': '855c72df-dfd7-4230-ab03-67cbf902bb1c', 'ccsp-application-id': 'f9ccfdac-a48d-4c57-bd32-9116963c24ed', 'Stamp': 'MZR18y/WJGWtH4R9s4CDnIE8xgFHHmTvJOMcLQ0DsPfNsizuovRkWvfa1PG3+jI=', 'Content-Type': 'application/json;charset=UTF-8', 'Host': 'au-apigw.ccs.hyundai.com.au:8080', 'Connection': 'Keep-Alive', 'Accept-Encoding': 'gzip', 'User-Agent': 'okhttp/3.12.0'} {'pushRegId': '26e3a08307ccefc6704b919a9aa39f3c8003f677e1ea283529cec933d96d7b0c', 'pushType': 'GCM', 'uuid': '8001b501-161c-4139-bc3a-a7b45eb1c6f3'}
  85. 2024-09-17 16:05:42.569 WARNING (MainThread) [slixmpp.stringprep] Using slower stringprep, consider compiling the faster cython/libidn one.
  86. 2024-09-17 16:05:42.675 DEBUG (SyncWorker_6) [hyundai_kia_connect_api.KiaUvoApiAU] hyundai_kia_connect_api - Get Device ID response: {'retCode': 'S', 'resCode': '0000', 'resMsg': {'deviceId': 'd70940b2-4564-4ab9-bac1-7e8851adc0ea'}, 'msgId': '53e2323f-dccc-4c04-923e-47836a984da7'}
  87. 2024-09-17 16:05:42.675 DEBUG (SyncWorker_6) [hyundai_kia_connect_api.KiaUvoApiAU] hyundai_kia_connect_api - Get cookies request: https://au-apigw.ccs.hyundai.com.au:8080/api/v1/user/oauth2/authorize?response_type=code&client_id=855c72df-dfd7-4230-ab03-67cbf902bb1c&redirect_uri=https://au-apigw.ccs.hyundai.com.au:8080/api/v1/user/oauth2/redirect&lang=en
  88. 2024-09-17 16:05:42.799 WARNING (MainThread) [homeassistant.util.loop] Detected blocking call to load_default_certs with args (<ssl.SSLContext object at 0x7fb501b0ce50>, <Purpose.SERVER_AUTH: _ASN1Object(nid=129, shortname='serverAuth', longname='TLS Web Server Authentication', oid='1.3.6.1.5.5.7.3.1')>) inside the event loop by integration 'harmony' at homeassistant/components/harmony/data.py, line 118: connected = await self._client.connect() (offender: /usr/local/lib/python3.12/ssl.py, line 713: context.load_default_certs(purpose)), please create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue+label%3A%22integration%3A+harmony%22
  89. For developers, please see https://developers.home-assistant.io/docs/asyncio_blocking_operations/#load_default_certs
  90. Traceback (most recent call last):
  91. File "<frozen runpy>", line 198, in _run_module_as_main
  92. File "<frozen runpy>", line 88, in _run_code
  93. File "/usr/src/homeassistant/homeassistant/__main__.py", line 223, in <module>
  94. sys.exit(main())
  95. File "/usr/src/homeassistant/homeassistant/__main__.py", line 209, in main
  96. exit_code = runner.run(runtime_conf)
  97. File "/usr/src/homeassistant/homeassistant/runner.py", line 189, in run
  98. return loop.run_until_complete(setup_and_run_hass(runtime_config))
  99. File "/usr/local/lib/python3.12/asyncio/base_events.py", line 674, in run_until_complete
  100. self.run_forever()
  101. File "/usr/local/lib/python3.12/asyncio/base_events.py", line 641, in run_forever
  102. self._run_once()
  103. File "/usr/local/lib/python3.12/asyncio/base_events.py", line 1990, in _run_once
  104. handle._run()
  105. File "/usr/local/lib/python3.12/asyncio/events.py", line 88, in _run
  106. self._context.run(self._callback, *self._args)
  107. File "/usr/src/homeassistant/homeassistant/config_entries.py", line 752, in async_setup_locked
  108. await self.async_setup(hass, integration=integration)
  109. File "/usr/src/homeassistant/homeassistant/config_entries.py", line 604, in async_setup
  110. result = await component.async_setup_entry(hass, self)
  111. File "/usr/src/homeassistant/homeassistant/components/harmony/__init__.py", line 28, in async_setup_entry
  112. await data.connect()
  113. File "/usr/src/homeassistant/homeassistant/components/harmony/data.py", line 118, in connect
  114. connected = await self._client.connect()
  115.  
  116. 2024-09-17 16:05:43.237 WARNING (MainThread) [homeassistant.components.fan] Entity None (<class 'custom_components.localtuya.fan.LocaltuyaFan'>) does not set FanEntityFeature.TURN_OFF but implements the turn_off method. Please create a bug report at https://github.com/rospogrigio/localtuya/issues
  117. 2024-09-17 16:05:43.237 WARNING (MainThread) [homeassistant.components.fan] Entity None (<class 'custom_components.localtuya.fan.LocaltuyaFan'>) does not set FanEntityFeature.TURN_ON but implements the turn_on method. Please create a bug report at https://github.com/rospogrigio/localtuya/issues
  118. 2024-09-17 16:05:43.238 WARNING (MainThread) [homeassistant.components.fan] Entity None (<class 'custom_components.localtuya.fan.LocaltuyaFan'>) does not set FanEntityFeature.TURN_OFF but implements the turn_off method. Please create a bug report at https://github.com/rospogrigio/localtuya/issues
  119. 2024-09-17 16:05:43.238 WARNING (MainThread) [homeassistant.components.fan] Entity None (<class 'custom_components.localtuya.fan.LocaltuyaFan'>) does not set FanEntityFeature.TURN_ON but implements the turn_on method. Please create a bug report at https://github.com/rospogrigio/localtuya/issues
  120. 2024-09-17 16:05:43.239 WARNING (MainThread) [homeassistant.components.fan] Entity None (<class 'custom_components.localtuya.fan.LocaltuyaFan'>) does not set FanEntityFeature.TURN_OFF but implements the turn_off method. Please create a bug report at https://github.com/rospogrigio/localtuya/issues
  121. 2024-09-17 16:05:43.239 WARNING (MainThread) [homeassistant.components.fan] Entity None (<class 'custom_components.localtuya.fan.LocaltuyaFan'>) does not set FanEntityFeature.TURN_ON but implements the turn_on method. Please create a bug report at https://github.com/rospogrigio/localtuya/issues
  122. 2024-09-17 16:05:43.239 WARNING (MainThread) [homeassistant.components.fan] Entity None (<class 'custom_components.localtuya.fan.LocaltuyaFan'>) does not set FanEntityFeature.TURN_OFF but implements the turn_off method. Please create a bug report at https://github.com/rospogrigio/localtuya/issues
  123. 2024-09-17 16:05:43.239 WARNING (MainThread) [homeassistant.components.fan] Entity None (<class 'custom_components.localtuya.fan.LocaltuyaFan'>) does not set FanEntityFeature.TURN_ON but implements the turn_on method. Please create a bug report at https://github.com/rospogrigio/localtuya/issues
  124. 2024-09-17 16:05:43.247 WARNING (MainThread) [homeassistant.components.light] Entity None (<class 'custom_components.localtuya.light.LocaltuyaLight'>) is using deprecated supported features values which will be removed in HA Core 2025.1. Instead it should use <LightEntityFeature.EFFECT|3: 7> and color modes, please create a bug report at https://github.com/rospogrigio/localtuya/issues and reference https://developers.home-assistant.io/blog/2023/12/28/support-feature-magic-numbers-deprecation
  125. 2024-09-17 16:05:43.247 WARNING (MainThread) [homeassistant.components.light] None (<class 'custom_components.localtuya.light.LocaltuyaLight'>) does not set supported color modes, this will stop working in Home Assistant Core 2025.3, please create a bug report at https://github.com/rospogrigio/localtuya/issues
  126. 2024-09-17 16:05:43.247 WARNING (MainThread) [homeassistant.components.light] Entity None (<class 'custom_components.localtuya.light.LocaltuyaLight'>) is using deprecated supported features values which will be removed in HA Core 2025.1. Instead it should use <LightEntityFeature.EFFECT: 4> and color modes, please create a bug report at https://github.com/rospogrigio/localtuya/issues and reference https://developers.home-assistant.io/blog/2023/12/28/support-feature-magic-numbers-deprecation
  127. 2024-09-17 16:05:43.247 WARNING (MainThread) [homeassistant.components.light] None (<class 'custom_components.localtuya.light.LocaltuyaLight'>) does not set supported color modes, this will stop working in Home Assistant Core 2025.3, please create a bug report at https://github.com/rospogrigio/localtuya/issues
  128. 2024-09-17 16:05:43.248 WARNING (MainThread) [homeassistant.components.light] Entity None (<class 'custom_components.localtuya.light.LocaltuyaLight'>) is using deprecated supported features values which will be removed in HA Core 2025.1. Instead it should use <LightEntityFeature.EFFECT: 4> and color modes, please create a bug report at https://github.com/rospogrigio/localtuya/issues and reference https://developers.home-assistant.io/blog/2023/12/28/support-feature-magic-numbers-deprecation
  129. 2024-09-17 16:05:43.248 WARNING (MainThread) [homeassistant.components.light] None (<class 'custom_components.localtuya.light.LocaltuyaLight'>) does not set supported color modes, this will stop working in Home Assistant Core 2025.3, please create a bug report at https://github.com/rospogrigio/localtuya/issues
  130. 2024-09-17 16:05:43.248 WARNING (MainThread) [homeassistant.components.light] Entity None (<class 'custom_components.localtuya.light.LocaltuyaLight'>) is using deprecated supported features values which will be removed in HA Core 2025.1. Instead it should use <LightEntityFeature.EFFECT|3: 7> and color modes, please create a bug report at https://github.com/rospogrigio/localtuya/issues and reference https://developers.home-assistant.io/blog/2023/12/28/support-feature-magic-numbers-deprecation
  131. 2024-09-17 16:05:43.248 WARNING (MainThread) [homeassistant.components.light] None (<class 'custom_components.localtuya.light.LocaltuyaLight'>) does not set supported color modes, this will stop working in Home Assistant Core 2025.3, please create a bug report at https://github.com/rospogrigio/localtuya/issues
  132. 2024-09-17 16:05:43.518 DEBUG (SyncWorker_6) [hyundai_kia_connect_api.KiaUvoApiAU] hyundai_kia_connect_api - Get cookies response: {'account': 'MDg5MThhMGYtNDk1NS00NGFmLTkyOWItOWYxYzg3ZDI4NTY1.5b39d500d89ab573a89abc405f577a325915d2e3'}
  133. 2024-09-17 16:05:43.524 WARNING (MainThread) [homeassistant.util.loop] Detected blocking call to listdir with args ('/config/deps/lib/python3.12/site-packages',) inside the event loop by integration 'pvoutput' at homeassistant/components/pvoutput/coordinator.py, line 36: return await self.pvoutput.status() (offender: /usr/local/lib/python3.12/importlib/metadata/__init__.py, line 680: return os.listdir(self.root or '.')), please create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue+label%3A%22integration%3A+pvoutput%22
  134. For developers, please see https://developers.home-assistant.io/docs/asyncio_blocking_operations/#listdir
  135. Traceback (most recent call last):
  136. File "<frozen runpy>", line 198, in _run_module_as_main
  137. File "<frozen runpy>", line 88, in _run_code
  138. File "/usr/src/homeassistant/homeassistant/__main__.py", line 223, in <module>
  139. sys.exit(main())
  140. File "/usr/src/homeassistant/homeassistant/__main__.py", line 209, in main
  141. exit_code = runner.run(runtime_conf)
  142. File "/usr/src/homeassistant/homeassistant/runner.py", line 189, in run
  143. return loop.run_until_complete(setup_and_run_hass(runtime_config))
  144. File "/usr/local/lib/python3.12/asyncio/base_events.py", line 674, in run_until_complete
  145. self.run_forever()
  146. File "/usr/local/lib/python3.12/asyncio/base_events.py", line 641, in run_forever
  147. self._run_once()
  148. File "/usr/local/lib/python3.12/asyncio/base_events.py", line 1990, in _run_once
  149. handle._run()
  150. File "/usr/local/lib/python3.12/asyncio/events.py", line 88, in _run
  151. self._context.run(self._callback, *self._args)
  152. File "/usr/src/homeassistant/homeassistant/setup.py", line 165, in async_setup_component
  153. result = await _async_setup_component(hass, domain, config)
  154. File "/usr/src/homeassistant/homeassistant/setup.py", line 461, in _async_setup_component
  155. await asyncio.gather(
  156. File "/usr/src/homeassistant/homeassistant/setup.py", line 463, in <genexpr>
  157. create_eager_task(
  158. File "/usr/src/homeassistant/homeassistant/util/async_.py", line 45, in create_eager_task
  159. return Task(coro, loop=loop, name=name, eager_start=True)
  160. File "/usr/src/homeassistant/homeassistant/config_entries.py", line 752, in async_setup_locked
  161. await self.async_setup(hass, integration=integration)
  162. File "/usr/src/homeassistant/homeassistant/config_entries.py", line 604, in async_setup
  163. result = await component.async_setup_entry(hass, self)
  164. File "/usr/src/homeassistant/homeassistant/components/pvoutput/__init__.py", line 15, in async_setup_entry
  165. await coordinator.async_config_entry_first_refresh()
  166. File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 281, in async_config_entry_first_refresh
  167. await self._async_refresh(
  168. File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 354, in _async_refresh
  169. self.data = await self._async_update_data()
  170. File "/usr/src/homeassistant/homeassistant/components/pvoutput/coordinator.py", line 36, in _async_update_data
  171. return await self.pvoutput.status()
  172.  
  173. 2024-09-17 16:05:43.551 WARNING (MainThread) [homeassistant.util.loop] Detected blocking call to read_text with args (PosixPath('/usr/local/lib/python3.12/site-packages/pvo-2.1.1.dist-info/METADATA'),) inside the event loop by integration 'pvoutput' at homeassistant/components/pvoutput/coordinator.py, line 36: return await self.pvoutput.status() (offender: /usr/local/lib/python3.12/importlib/metadata/__init__.py, line 819: return self._path.joinpath(filename).read_text(encoding='utf-8')), please create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue+label%3A%22integration%3A+pvoutput%22
  174. For developers, please see https://developers.home-assistant.io/docs/asyncio_blocking_operations/#read_text
  175. Traceback (most recent call last):
  176. File "<frozen runpy>", line 198, in _run_module_as_main
  177. File "<frozen runpy>", line 88, in _run_code
  178. File "/usr/src/homeassistant/homeassistant/__main__.py", line 223, in <module>
  179. sys.exit(main())
  180. File "/usr/src/homeassistant/homeassistant/__main__.py", line 209, in main
  181. exit_code = runner.run(runtime_conf)
  182. File "/usr/src/homeassistant/homeassistant/runner.py", line 189, in run
  183. return loop.run_until_complete(setup_and_run_hass(runtime_config))
  184. File "/usr/local/lib/python3.12/asyncio/base_events.py", line 674, in run_until_complete
  185. self.run_forever()
  186. File "/usr/local/lib/python3.12/asyncio/base_events.py", line 641, in run_forever
  187. self._run_once()
  188. File "/usr/local/lib/python3.12/asyncio/base_events.py", line 1990, in _run_once
  189. handle._run()
  190. File "/usr/local/lib/python3.12/asyncio/events.py", line 88, in _run
  191. self._context.run(self._callback, *self._args)
  192. File "/usr/src/homeassistant/homeassistant/setup.py", line 165, in async_setup_component
  193. result = await _async_setup_component(hass, domain, config)
  194. File "/usr/src/homeassistant/homeassistant/setup.py", line 461, in _async_setup_component
  195. await asyncio.gather(
  196. File "/usr/src/homeassistant/homeassistant/setup.py", line 463, in <genexpr>
  197. create_eager_task(
  198. File "/usr/src/homeassistant/homeassistant/util/async_.py", line 45, in create_eager_task
  199. return Task(coro, loop=loop, name=name, eager_start=True)
  200. File "/usr/src/homeassistant/homeassistant/config_entries.py", line 752, in async_setup_locked
  201. await self.async_setup(hass, integration=integration)
  202. File "/usr/src/homeassistant/homeassistant/config_entries.py", line 604, in async_setup
  203. result = await component.async_setup_entry(hass, self)
  204. File "/usr/src/homeassistant/homeassistant/components/pvoutput/__init__.py", line 15, in async_setup_entry
  205. await coordinator.async_config_entry_first_refresh()
  206. File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 281, in async_config_entry_first_refresh
  207. await self._async_refresh(
  208. File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 354, in _async_refresh
  209. self.data = await self._async_update_data()
  210. File "/usr/src/homeassistant/homeassistant/components/pvoutput/coordinator.py", line 36, in _async_update_data
  211. return await self.pvoutput.status()
  212.  
  213. 2024-09-17 16:05:43.566 WARNING (MainThread) [homeassistant.util.loop] Detected blocking call to open with args (PosixPath('/usr/local/lib/python3.12/site-packages/pvo-2.1.1.dist-info/METADATA'),) inside the event loop by integration 'pvoutput' at homeassistant/components/pvoutput/coordinator.py, line 36: return await self.pvoutput.status() (offender: /usr/local/lib/python3.12/pathlib.py, line 1027: with self.open(mode='r', encoding=encoding, errors=errors) as f:), please create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue+label%3A%22integration%3A+pvoutput%22
  214. For developers, please see https://developers.home-assistant.io/docs/asyncio_blocking_operations/#open
  215. Traceback (most recent call last):
  216. File "<frozen runpy>", line 198, in _run_module_as_main
  217. File "<frozen runpy>", line 88, in _run_code
  218. File "/usr/src/homeassistant/homeassistant/__main__.py", line 223, in <module>
  219. sys.exit(main())
  220. File "/usr/src/homeassistant/homeassistant/__main__.py", line 209, in main
  221. exit_code = runner.run(runtime_conf)
  222. File "/usr/src/homeassistant/homeassistant/runner.py", line 189, in run
  223. return loop.run_until_complete(setup_and_run_hass(runtime_config))
  224. File "/usr/local/lib/python3.12/asyncio/base_events.py", line 674, in run_until_complete
  225. self.run_forever()
  226. File "/usr/local/lib/python3.12/asyncio/base_events.py", line 641, in run_forever
  227. self._run_once()
  228. File "/usr/local/lib/python3.12/asyncio/base_events.py", line 1990, in _run_once
  229. handle._run()
  230. File "/usr/local/lib/python3.12/asyncio/events.py", line 88, in _run
  231. self._context.run(self._callback, *self._args)
  232. File "/usr/src/homeassistant/homeassistant/setup.py", line 165, in async_setup_component
  233. result = await _async_setup_component(hass, domain, config)
  234. File "/usr/src/homeassistant/homeassistant/setup.py", line 461, in _async_setup_component
  235. await asyncio.gather(
  236. File "/usr/src/homeassistant/homeassistant/setup.py", line 463, in <genexpr>
  237. create_eager_task(
  238. File "/usr/src/homeassistant/homeassistant/util/async_.py", line 45, in create_eager_task
  239. return Task(coro, loop=loop, name=name, eager_start=True)
  240. File "/usr/src/homeassistant/homeassistant/config_entries.py", line 752, in async_setup_locked
  241. await self.async_setup(hass, integration=integration)
  242. File "/usr/src/homeassistant/homeassistant/config_entries.py", line 604, in async_setup
  243. result = await component.async_setup_entry(hass, self)
  244. File "/usr/src/homeassistant/homeassistant/components/pvoutput/__init__.py", line 15, in async_setup_entry
  245. await coordinator.async_config_entry_first_refresh()
  246. File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 281, in async_config_entry_first_refresh
  247. await self._async_refresh(
  248. File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 354, in _async_refresh
  249. self.data = await self._async_update_data()
  250. File "/usr/src/homeassistant/homeassistant/components/pvoutput/coordinator.py", line 36, in _async_update_data
  251. return await self.pvoutput.status()
  252.  
  253. 2024-09-17 16:05:44.156 DEBUG (SyncWorker_6) [hyundai_kia_connect_api.KiaUvoApiAU] hyundai_kia_connect_api - Sign In Response: {'redirectUrl': 'https://au-apigw.ccs.hyundai.com.au:8080/api/v1/user/oauth2/redirect?code=OGXXQR_XMKCCEVQCCNJTDG', 'popup': False, 'method': '', 'upgrade': False, 'integrated': False, 'deleteAccountLink': ''}
  254. 2024-09-17 16:05:44.157 DEBUG (SyncWorker_6) [hyundai_kia_connect_api.KiaUvoApiAU] hyundai_kia_connect_api - Get Access Token Data: {'Authorization': 'Basic ODU1YzcyZGYtZGZkNy00MjMwLWFiMDMtNjdjYmY5MDJiYjFjOmU2ZmJ3SE0zMllOYmhRbDBwdmlhUHAzcmY0dDNTNms5MWVjZUEzTUpMZGJkVGhDTw==', 'Stamp': 'MZR18y/WJGWtH4R9s4CDnIE8xgFHHmTvJOMcLQ0DsPfNsizuovRkWvfa1PG3+jI=', 'Content-type': 'application/x-www-form-urlencoded', 'Host': 'au-apigw.ccs.hyundai.com.au:8080', 'Connection': 'close', 'Accept-Encoding': 'gzip, deflate', 'User-Agent': 'okhttp/3.12.0'}grant_type=authorization_code&redirect_uri=https%3A%2F%2Fau-apigw.ccs.hyundai.com.au:8080%2Fapi%2Fv1%2Fuser%2Foauth2%2Fredirect&code=OGXXQR_XMKCCEVQCCNJTDG
  255. 2024-09-17 16:05:44.739 DEBUG (SyncWorker_6) [hyundai_kia_connect_api.KiaUvoApiAU] hyundai_kia_connect_api - Get Access Token Response: {'access_token': 'eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJwaWQiOiI1YjdjYzgzZTI0OTA5MjI1MDQyNmFhMjciLCJ1aWQiOiJkNjIwNzk0YS1kZTVkLTRjODYtYWFlMy1lOTE4ZGJiNjRiMTUiLCJzaWQiOiI4NTVjNzJkZi1kZmQ3LTQyMzAtYWIwMy02N2NiZjkwMmJiMWMiLCJleHAiOjE3MjY2Mzk1NDQsImlhdCI6MTcyNjU1MzE0NCwiaXNzIjoiYmx1ZWxpbmsifQ.LpHx_-8TsyW_QfitTBWUS4ZEEZ-x2Obi-NMIW2vJbV0I5xj9IXY6qyZH7d7gazEdQXTRuwdhYTpfGzR4eWG4PV3q5r6oyzz_MtxGSjT4LL3oKVyoUfKGu_jg49CAoTOyM6dXhm3nnVY7TOu-dKxsG6SsOrlU0cwdxhnyAB7DURsFTIsW_Lbbpfd0NIPoBEuHCKv8hn_17yY2LfHxmFtR4HzeEgjsOg7k_jz6T6RsrycH6gvbkxHRqmbN6ilcyPbYVLIJr58OsVNsFa-HQslBsWzKfmibQlaeZ24e1qvoDzYeyZ6xt8ZM0-d4P34h52Yt8pW5W3k_8wgTUsCUgJ1kDQ', 'token_type': 'Bearer', 'refresh_token': 'YBQEZO0WWCUUVMEN9OSEOG', 'expires_in': 86400}
  256. 2024-09-17 16:05:44.739 DEBUG (SyncWorker_6) [hyundai_kia_connect_api.KiaUvoApiAU] hyundai_kia_connect_api - Access Token Value Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJwaWQiOiI1YjdjYzgzZTI0OTA5MjI1MDQyNmFhMjciLCJ1aWQiOiJkNjIwNzk0YS1kZTVkLTRjODYtYWFlMy1lOTE4ZGJiNjRiMTUiLCJzaWQiOiI4NTVjNzJkZi1kZmQ3LTQyMzAtYWIwMy02N2NiZjkwMmJiMWMiLCJleHAiOjE3MjY2Mzk1NDQsImlhdCI6MTcyNjU1MzE0NCwiaXNzIjoiYmx1ZWxpbmsifQ.LpHx_-8TsyW_QfitTBWUS4ZEEZ-x2Obi-NMIW2vJbV0I5xj9IXY6qyZH7d7gazEdQXTRuwdhYTpfGzR4eWG4PV3q5r6oyzz_MtxGSjT4LL3oKVyoUfKGu_jg49CAoTOyM6dXhm3nnVY7TOu-dKxsG6SsOrlU0cwdxhnyAB7DURsFTIsW_Lbbpfd0NIPoBEuHCKv8hn_17yY2LfHxmFtR4HzeEgjsOg7k_jz6T6RsrycH6gvbkxHRqmbN6ilcyPbYVLIJr58OsVNsFa-HQslBsWzKfmibQlaeZ24e1qvoDzYeyZ6xt8ZM0-d4P34h52Yt8pW5W3k_8wgTUsCUgJ1kDQ
  257. 2024-09-17 16:05:44.739 DEBUG (SyncWorker_6) [hyundai_kia_connect_api.KiaUvoApiAU] hyundai_kia_connect_api - Get Refresh Token Data: grant_type=refresh_token&refresh_token=YBQEZO0WWCUUVMEN9OSEOG
  258. 2024-09-17 16:05:45.320 DEBUG (SyncWorker_6) [hyundai_kia_connect_api.KiaUvoApiAU] hyundai_kia_connect_api - Get Refresh Token Response: {'access_token': 'eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJwaWQiOiI1YjdjYzgzZTI0OTA5MjI1MDQyNmFhMjciLCJ1aWQiOiJkNjIwNzk0YS1kZTVkLTRjODYtYWFlMy1lOTE4ZGJiNjRiMTUiLCJzaWQiOiI4NTVjNzJkZi1kZmQ3LTQyMzAtYWIwMy02N2NiZjkwMmJiMWMiLCJleHAiOjE3MjY2Mzk1NDUsImlhdCI6MTcyNjU1MzE0NSwiaXNzIjoiYmx1ZWxpbmsifQ.vjH9eA4ij2c95H9ak8Xjk7z2TUXa5t90fby_QXaQ8kxVyOaz3tDZgXxX8KDqO8HwHZIOItGkG03UYvbyiS1fG4kRNylHwpPECPyG8deWqr9NJ9ErmzwiJFMu9-XEBV49FLPAcIEQ2Bf2M7A2IdygyUm7UMjARW5T8uIYzsM4U67qXG8KSy-4i-dNsPMAAsdfIe2KspC8VdD7NeZ01c7chND9lc4P70Gd5uffmkTw9BYXbE_i9vX8TZcs2MfznsceJNlPuLDDxvWFwWcCE_h2okZRnyObdUyyzjnBPqkLH5gbrCa1aS_HKdEtF0BXDmxsxnXxNj2TD8VCcN8W8Zyetg', 'token_type': 'Bearer', 'expires_in': 86400}
  259. 2024-09-17 16:05:45.434 WARNING (MainThread) [homeassistant.util.loop] Detected blocking call to load_default_certs with args (<ssl.SSLContext object at 0x7fb4fde5b9d0>, <Purpose.SERVER_AUTH: _ASN1Object(nid=129, shortname='serverAuth', longname='TLS Web Server Authentication', oid='1.3.6.1.5.5.7.3.1')>) inside the event loop by custom integration 'smartthinq_sensors' at custom_components/smartthinq_sensors/wideq/core_async.py, line 149: context = ssl.create_default_context() (offender: /usr/local/lib/python3.12/ssl.py, line 713: context.load_default_certs(purpose)), please create a bug report at https://github.com/ollo69/ha-smartthinq-sensors/issues
  260. For developers, please see https://developers.home-assistant.io/docs/asyncio_blocking_operations/#load_default_certs
  261. Traceback (most recent call last):
  262. File "<frozen runpy>", line 198, in _run_module_as_main
  263. File "<frozen runpy>", line 88, in _run_code
  264. File "/usr/src/homeassistant/homeassistant/__main__.py", line 223, in <module>
  265. sys.exit(main())
  266. File "/usr/src/homeassistant/homeassistant/__main__.py", line 209, in main
  267. exit_code = runner.run(runtime_conf)
  268. File "/usr/src/homeassistant/homeassistant/runner.py", line 189, in run
  269. return loop.run_until_complete(setup_and_run_hass(runtime_config))
  270. File "/usr/local/lib/python3.12/asyncio/base_events.py", line 674, in run_until_complete
  271. self.run_forever()
  272. File "/usr/local/lib/python3.12/asyncio/base_events.py", line 641, in run_forever
  273. self._run_once()
  274. File "/usr/local/lib/python3.12/asyncio/base_events.py", line 1990, in _run_once
  275. handle._run()
  276. File "/usr/local/lib/python3.12/asyncio/events.py", line 88, in _run
  277. self._context.run(self._callback, *self._args)
  278. File "/usr/src/homeassistant/homeassistant/setup.py", line 165, in async_setup_component
  279. result = await _async_setup_component(hass, domain, config)
  280. File "/usr/src/homeassistant/homeassistant/setup.py", line 461, in _async_setup_component
  281. await asyncio.gather(
  282. File "/usr/src/homeassistant/homeassistant/setup.py", line 463, in <genexpr>
  283. create_eager_task(
  284. File "/usr/src/homeassistant/homeassistant/util/async_.py", line 45, in create_eager_task
  285. return Task(coro, loop=loop, name=name, eager_start=True)
  286. File "/usr/src/homeassistant/homeassistant/config_entries.py", line 752, in async_setup_locked
  287. await self.async_setup(hass, integration=integration)
  288. File "/usr/src/homeassistant/homeassistant/config_entries.py", line 604, in async_setup
  289. result = await component.async_setup_entry(hass, self)
  290. File "/config/custom_components/smartthinq_sensors/__init__.py", line 269, in async_setup_entry
  291. client = await lge_auth.create_client_from_token(
  292. File "/config/custom_components/smartthinq_sensors/__init__.py", line 153, in create_client_from_token
  293. return await ClientAsync.from_token(
  294. File "/config/custom_components/smartthinq_sensors/wideq/core_async.py", line 1597, in from_token
  295. gateway = await Gateway.discover(core)
  296. File "/config/custom_components/smartthinq_sensors/wideq/core_async.py", line 750, in discover
  297. gw_info = await core.gateway_info()
  298. File "/config/custom_components/smartthinq_sensors/wideq/core_async.py", line 456, in gateway_info
  299. result = await self.thinq2_get(V2_GATEWAY_URL)
  300. File "/config/custom_components/smartthinq_sensors/wideq/core_async.py", line 338, in thinq2_get
  301. async with self._get_session().get(
  302. File "/config/custom_components/smartthinq_sensors/wideq/core_async.py", line 223, in _get_session
  303. self._session = lg_client_session()
  304. File "/config/custom_components/smartthinq_sensors/wideq/core_async.py", line 149, in lg_client_session
  305. context = ssl.create_default_context()
  306.  
  307. 2024-09-17 16:05:45.959 DEBUG (SyncWorker_6) [hyundai_kia_connect_api.KiaUvoApiAU] hyundai_kia_connect_api - Get Vehicles Response: {'retCode': 'S', 'resCode': '0000', 'resMsg': {'vehicles': [{'vin': 'KMHR781ASRU715759', 'vehicleId': 'e998e7f5-8a79-43a1-9aab-a642c66e0426', 'vehicleName': 'PALISADE 19/22', 'type': 'GN', 'tmuNum': '-', 'nickname': 'PALISADE', 'year': '2024', 'master': False, 'carShare': -1, 'regDate': '2024-01-18 20:00:15.569', 'detailInfo': {'inColor': 'NKE', 'outColor': 'WC9', 'bodyType': '3', 'saleCarmdlCd': 'S8', 'prodCarmdlCd': 'S8', 'saleCarmdlEnNm': 'PALISADE'}, 'protocolType': 0, 'ccuCCS2ProtocolSupport': 0}]}, 'msgId': 'a510cb94-316a-454d-992b-f2f4869cc0b3'}
  308. 2024-09-17 16:05:47.482 DEBUG (SyncWorker_2) [hyundai_kia_connect_api.KiaUvoApiAU] hyundai_kia_connect_api - get_cached_vehicle_status response: {'retCode': 'S', 'resCode': '0000', 'resMsg': {'airCtrlOn': False, 'engine': False, 'doorLock': True, 'doorOpen': {'frontLeft': 0, 'frontRight': 0, 'backLeft': 0, 'backRight': 0}, 'trunkOpen': False, 'airTemp': {'value': '00H', 'unit': 0, 'hvacTempType': 1}, 'defrost': False, 'lowFuelLight': False, 'acc': False, 'ign3': False, 'hoodOpen': False, 'transCond': True, 'steerWheelHeat': 0, 'sideBackWindowHeat': 0, 'dte': {'value': 146, 'unit': 1}, 'tirePressureLamp': {'tirePressureLampAll': 0, 'tirePressureLampFL': 0, 'tirePressureLampFR': 0, 'tirePressureLampRL': 0, 'tirePressureLampRR': 0}, 'seatHeaterVentState': {'drvSeatHeatState': 2, 'astSeatHeatState': 2, 'rlSeatHeatState': 2, 'rrSeatHeatState': 2}, 'battery': {'batSoc': 81, 'batState': 0, 'sjbDeliveryMode': 0, 'batSignalReferenceValue': {'batWarning': 0}, 'powerAutoCutMode': 2}, 'sunroofOpen': False, 'lampWireStatus': {'stopLamp': {'stopLampStatus': False, 'leftLamp': False, 'rightLamp': False}, 'headLamp': {'headLampStatus': False, 'leftLowLamp': False, 'rightLowLamp': False, 'leftHighLamp': False, 'rightHighLamp': False, 'leftBifuncLamp': False, 'rightBifuncLamp': False}, 'turnSignalLamp': {'turnSignalLampStatus': False, 'leftFrontLamp': False, 'rightFrontLamp': False, 'leftRearLamp': False, 'rightRearLamp': False}}, 'windowOpen': {'frontLeft': 0, 'frontRight': 0, 'backLeft': 0, 'backRight': 0}, 'smartKeyBatteryWarning': False, 'fuelLevel': 17, 'washerFluidStatus': False, 'breakOilStatus': False, 'engineOilStatus': False, 'sleepModeCheck': True, 'vehicleMovementHis': False, 'vehicleSlope': False, 'neutralPosition': False, 'parkingBrakeHighNotch': False, 'time': '20240917081218', 'remoteWaitingTimeAlert': {'remoteControlAvailable': 1, 'remoteControlWaitingTime': 168, 'elapsedTime': '00:10:20'}, 'systemCutOffAlert': 0, 'tailLampStatus': 0, 'hazardStatus': 0, 'deicer': False}, 'msgId': '535de177-f073-4e03-bf15-c9584cbaf0e2'}
  309. 2024-09-17 16:05:48.071 DEBUG (SyncWorker_2) [hyundai_kia_connect_api.KiaUvoApiAU] hyundai_kia_connect_api - _get_location response: {'retCode': 'S', 'resCode': '0000', 'resMsg': {'coord': {'lat': -34.407692, 'lon': 150.878375, 'alt': 0, 'type': 0}, 'time': '20240917081211'}, 'msgId': 'a478c13d-81ea-4df7-98fe-695c591ee051'}
  310. 2024-09-17 16:05:48.071 DEBUG (SyncWorker_2) [hyundai_kia_connect_api.KiaUvoApiAU] hyundai_kia_connect_api - _get_location failed
  311. 2024-09-17 16:05:48.071 DEBUG (SyncWorker_2) [hyundai_kia_connect_api.KiaUvoApiAU] hyundai_kia_connect_api - SOC Levels couldn't be found. May not be an EV.
  312. 2024-09-17 16:05:48.079 ERROR (MainThread) [custom_components.kia_uvo.coordinator] Force update failed, falling back to cached: Traceback (most recent call last):
  313. File "/config/custom_components/kia_uvo/coordinator.py", line 126, in _async_update_data
  314. await self.hass.async_add_executor_job(
  315. File "/usr/local/lib/python3.12/concurrent/futures/thread.py", line 58, in run
  316. result = self.fn(*self.args, **self.kwargs)
  317. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  318. File "/usr/local/lib/python3.12/site-packages/hyundai_kia_connect_api/VehicleManager.py", line 115, in check_and_force_update_vehicles
  319. self.update_vehicle_with_cached_state(vehicle_id)
  320. File "/usr/local/lib/python3.12/site-packages/hyundai_kia_connect_api/VehicleManager.py", line 90, in update_vehicle_with_cached_state
  321. self.api.update_vehicle_with_cached_state(self.token, vehicle)
  322. File "/usr/local/lib/python3.12/site-packages/hyundai_kia_connect_api/KiaUvoApiAU.py", line 259, in update_vehicle_with_cached_state
  323. self._update_vehicle_drive_info(vehicle, state)
  324. ^^^^^
  325. UnboundLocalError: cannot access local variable 'state' where it is not associated with a value
  326. Traceback (most recent call last):
  327. File "/config/custom_components/kia_uvo/coordinator.py", line 126, in _async_update_data
  328. await self.hass.async_add_executor_job(
  329. File "/usr/local/lib/python3.12/concurrent/futures/thread.py", line 58, in run
  330. result = self.fn(*self.args, **self.kwargs)
  331. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  332. File "/usr/local/lib/python3.12/site-packages/hyundai_kia_connect_api/VehicleManager.py", line 115, in check_and_force_update_vehicles
  333. self.update_vehicle_with_cached_state(vehicle_id)
  334. File "/usr/local/lib/python3.12/site-packages/hyundai_kia_connect_api/VehicleManager.py", line 90, in update_vehicle_with_cached_state
  335. self.api.update_vehicle_with_cached_state(self.token, vehicle)
  336. File "/usr/local/lib/python3.12/site-packages/hyundai_kia_connect_api/KiaUvoApiAU.py", line 259, in update_vehicle_with_cached_state
  337. self._update_vehicle_drive_info(vehicle, state)
  338. ^^^^^
  339. UnboundLocalError: cannot access local variable 'state' where it is not associated with a value
  340. 2024-09-17 16:05:48.664 DEBUG (SyncWorker_13) [hyundai_kia_connect_api.KiaUvoApiAU] hyundai_kia_connect_api - get_cached_vehicle_status response: {'retCode': 'S', 'resCode': '0000', 'resMsg': {'airCtrlOn': False, 'engine': False, 'doorLock': True, 'doorOpen': {'frontLeft': 0, 'frontRight': 0, 'backLeft': 0, 'backRight': 0}, 'trunkOpen': False, 'airTemp': {'value': '00H', 'unit': 0, 'hvacTempType': 1}, 'defrost': False, 'lowFuelLight': False, 'acc': False, 'ign3': False, 'hoodOpen': False, 'transCond': True, 'steerWheelHeat': 0, 'sideBackWindowHeat': 0, 'dte': {'value': 146, 'unit': 1}, 'tirePressureLamp': {'tirePressureLampAll': 0, 'tirePressureLampFL': 0, 'tirePressureLampFR': 0, 'tirePressureLampRL': 0, 'tirePressureLampRR': 0}, 'seatHeaterVentState': {'drvSeatHeatState': 2, 'astSeatHeatState': 2, 'rlSeatHeatState': 2, 'rrSeatHeatState': 2}, 'battery': {'batSoc': 81, 'batState': 0, 'sjbDeliveryMode': 0, 'batSignalReferenceValue': {'batWarning': 0}, 'powerAutoCutMode': 2}, 'sunroofOpen': False, 'lampWireStatus': {'stopLamp': {'stopLampStatus': False, 'leftLamp': False, 'rightLamp': False}, 'headLamp': {'headLampStatus': False, 'leftLowLamp': False, 'rightLowLamp': False, 'leftHighLamp': False, 'rightHighLamp': False, 'leftBifuncLamp': False, 'rightBifuncLamp': False}, 'turnSignalLamp': {'turnSignalLampStatus': False, 'leftFrontLamp': False, 'rightFrontLamp': False, 'leftRearLamp': False, 'rightRearLamp': False}}, 'windowOpen': {'frontLeft': 0, 'frontRight': 0, 'backLeft': 0, 'backRight': 0}, 'smartKeyBatteryWarning': False, 'fuelLevel': 17, 'washerFluidStatus': False, 'breakOilStatus': False, 'engineOilStatus': False, 'sleepModeCheck': True, 'vehicleMovementHis': False, 'vehicleSlope': False, 'neutralPosition': False, 'parkingBrakeHighNotch': False, 'time': '20240917081218', 'remoteWaitingTimeAlert': {'remoteControlAvailable': 1, 'remoteControlWaitingTime': 168, 'elapsedTime': '00:10:20'}, 'systemCutOffAlert': 0, 'tailLampStatus': 0, 'hazardStatus': 0, 'deicer': False}, 'msgId': '2d69ed23-578c-4f7b-8f2b-34ee788e74ec'}
  341. 2024-09-17 16:05:49.249 DEBUG (SyncWorker_13) [hyundai_kia_connect_api.KiaUvoApiAU] hyundai_kia_connect_api - _get_location response: {'retCode': 'S', 'resCode': '0000', 'resMsg': {'coord': {'lat': -34.407692, 'lon': 150.878375, 'alt': 0, 'type': 0}, 'time': '20240917081211'}, 'msgId': 'becaf579-8ed8-4181-a40b-397c8ead5378'}
  342. 2024-09-17 16:05:49.250 DEBUG (SyncWorker_13) [hyundai_kia_connect_api.KiaUvoApiAU] hyundai_kia_connect_api - _get_location failed
  343. 2024-09-17 16:05:49.250 DEBUG (SyncWorker_13) [hyundai_kia_connect_api.KiaUvoApiAU] hyundai_kia_connect_api - SOC Levels couldn't be found. May not be an EV.
  344. 2024-09-17 16:05:49.251 ERROR (MainThread) [custom_components.kia_uvo.coordinator] Cached update failed: Traceback (most recent call last):
  345. File "/config/custom_components/kia_uvo/coordinator.py", line 126, in _async_update_data
  346. await self.hass.async_add_executor_job(
  347. File "/usr/local/lib/python3.12/concurrent/futures/thread.py", line 58, in run
  348. result = self.fn(*self.args, **self.kwargs)
  349. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  350. File "/usr/local/lib/python3.12/site-packages/hyundai_kia_connect_api/VehicleManager.py", line 115, in check_and_force_update_vehicles
  351. self.update_vehicle_with_cached_state(vehicle_id)
  352. File "/usr/local/lib/python3.12/site-packages/hyundai_kia_connect_api/VehicleManager.py", line 90, in update_vehicle_with_cached_state
  353. self.api.update_vehicle_with_cached_state(self.token, vehicle)
  354. File "/usr/local/lib/python3.12/site-packages/hyundai_kia_connect_api/KiaUvoApiAU.py", line 259, in update_vehicle_with_cached_state
  355. self._update_vehicle_drive_info(vehicle, state)
  356. ^^^^^
  357. UnboundLocalError: cannot access local variable 'state' where it is not associated with a value
  358.  
  359. During handling of the above exception, another exception occurred:
  360.  
  361. Traceback (most recent call last):
  362. File "/config/custom_components/kia_uvo/coordinator.py", line 135, in _async_update_data
  363. await self.hass.async_add_executor_job(
  364. File "/usr/local/lib/python3.12/concurrent/futures/thread.py", line 58, in run
  365. result = self.fn(*self.args, **self.kwargs)
  366. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  367. File "/usr/local/lib/python3.12/site-packages/hyundai_kia_connect_api/VehicleManager.py", line 85, in update_all_vehicles_with_cached_state
  368. self.update_vehicle_with_cached_state(vehicle_id)
  369. File "/usr/local/lib/python3.12/site-packages/hyundai_kia_connect_api/VehicleManager.py", line 90, in update_vehicle_with_cached_state
  370. self.api.update_vehicle_with_cached_state(self.token, vehicle)
  371. File "/usr/local/lib/python3.12/site-packages/hyundai_kia_connect_api/KiaUvoApiAU.py", line 259, in update_vehicle_with_cached_state
  372. self._update_vehicle_drive_info(vehicle, state)
  373. ^^^^^
  374. UnboundLocalError: cannot access local variable 'state' where it is not associated with a value
  375. Traceback (most recent call last):
  376. File "/config/custom_components/kia_uvo/coordinator.py", line 126, in _async_update_data
  377. await self.hass.async_add_executor_job(
  378. File "/usr/local/lib/python3.12/concurrent/futures/thread.py", line 58, in run
  379. result = self.fn(*self.args, **self.kwargs)
  380. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  381. File "/usr/local/lib/python3.12/site-packages/hyundai_kia_connect_api/VehicleManager.py", line 115, in check_and_force_update_vehicles
  382. self.update_vehicle_with_cached_state(vehicle_id)
  383. File "/usr/local/lib/python3.12/site-packages/hyundai_kia_connect_api/VehicleManager.py", line 90, in update_vehicle_with_cached_state
  384. self.api.update_vehicle_with_cached_state(self.token, vehicle)
  385. File "/usr/local/lib/python3.12/site-packages/hyundai_kia_connect_api/KiaUvoApiAU.py", line 259, in update_vehicle_with_cached_state
  386. self._update_vehicle_drive_info(vehicle, state)
  387. ^^^^^
  388. UnboundLocalError: cannot access local variable 'state' where it is not associated with a value
  389.  
  390. During handling of the above exception, another exception occurred:
  391.  
  392. Traceback (most recent call last):
  393. File "/config/custom_components/kia_uvo/coordinator.py", line 135, in _async_update_data
  394. await self.hass.async_add_executor_job(
  395. File "/usr/local/lib/python3.12/concurrent/futures/thread.py", line 58, in run
  396. result = self.fn(*self.args, **self.kwargs)
  397. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  398. File "/usr/local/lib/python3.12/site-packages/hyundai_kia_connect_api/VehicleManager.py", line 85, in update_all_vehicles_with_cached_state
  399. self.update_vehicle_with_cached_state(vehicle_id)
  400. File "/usr/local/lib/python3.12/site-packages/hyundai_kia_connect_api/VehicleManager.py", line 90, in update_vehicle_with_cached_state
  401. self.api.update_vehicle_with_cached_state(self.token, vehicle)
  402. File "/usr/local/lib/python3.12/site-packages/hyundai_kia_connect_api/KiaUvoApiAU.py", line 259, in update_vehicle_with_cached_state
  403. self._update_vehicle_drive_info(vehicle, state)
  404. ^^^^^
  405. UnboundLocalError: cannot access local variable 'state' where it is not associated with a value
  406. 2024-09-17 16:05:49.253 DEBUG (MainThread) [custom_components.kia_uvo.coordinator] Finished fetching kia_uvo data in 7.183 seconds (success: False)
  407. 2024-09-17 16:05:49.383 ERROR (SyncWorker_7) [pyicloud.base] Authentication required for Account. (421)
  408. 2024-09-17 16:05:50.452 WARNING (MainThread) [homeassistant.util.loop] Detected blocking call to open with args ('/config/.ps4-games.F8461C06F473_c372.json',) inside the event loop by integration 'ps4' at homeassistant/components/ps4/__init__.py, line 176: games = load_json_object(g_file) (offender: /usr/src/homeassistant/homeassistant/util/json.py, line 74: with open(filename, mode="rb") as fdesc:), please create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue+label%3A%22integration%3A+ps4%22
  409. For developers, please see https://developers.home-assistant.io/docs/asyncio_blocking_operations/#open
  410. Traceback (most recent call last):
  411. File "<frozen runpy>", line 198, in _run_module_as_main
  412. File "<frozen runpy>", line 88, in _run_code
  413. File "/usr/src/homeassistant/homeassistant/__main__.py", line 223, in <module>
  414. sys.exit(main())
  415. File "/usr/src/homeassistant/homeassistant/__main__.py", line 209, in main
  416. exit_code = runner.run(runtime_conf)
  417. File "/usr/src/homeassistant/homeassistant/runner.py", line 189, in run
  418. return loop.run_until_complete(setup_and_run_hass(runtime_config))
  419. File "/usr/local/lib/python3.12/asyncio/base_events.py", line 674, in run_until_complete
  420. self.run_forever()
  421. File "/usr/local/lib/python3.12/asyncio/base_events.py", line 641, in run_forever
  422. self._run_once()
  423. File "/usr/local/lib/python3.12/asyncio/base_events.py", line 1990, in _run_once
  424. handle._run()
  425. File "/usr/local/lib/python3.12/asyncio/events.py", line 88, in _run
  426. self._context.run(self._callback, *self._args)
  427. File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 724, in _async_add_entity
  428. await entity.async_device_update(warning=False)
  429. File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1300, in async_device_update
  430. await self.async_update()
  431. File "/usr/src/homeassistant/homeassistant/components/ps4/media_player.py", line 160, in async_update
  432. self._parse_status()
  433. File "/usr/src/homeassistant/homeassistant/components/ps4/media_player.py", line 166, in _parse_status
  434. self._games = load_games(self.hass, cast(str, self.unique_id))
  435. File "/usr/src/homeassistant/homeassistant/components/ps4/__init__.py", line 176, in load_games
  436. games = load_json_object(g_file)
  437.  
  438. 2024-09-17 16:05:50.991 ERROR (SyncWorker_7) [homeassistant.components.icloud.account] Your password for 'xxx@xxx' is no longer working; Go to the Integrations menu and click on Configure on the discovered Apple iCloud card to login again
  439. 2024-09-17 16:05:54.344 ERROR (MainThread) [homeassistant.components.automation] Automation with alias 'Christmas Day' failed to setup actions and has been disabled: Unknown device '34309e038aef71c498c765d2a06766cd'
  440. 2024-09-17 16:05:55.364 WARNING (MainThread) [homeassistant.helpers.frame] Detected that custom integration 'smartthinq_sensors' registers an entity service with a non entity service schema which will stop working in HA Core 2025.9 at custom_components/smartthinq_sensors/humidifier.py, line 67: platform.async_register_entity_service(, please create a bug report at https://github.com/ollo69/ha-smartthinq-sensors/issues
  441. 2024-09-17 16:05:55.881 ERROR (MainThread) [homeassistant.components.automation] Automation with alias 'Family Room - Fan Speed to 1 on Start (Not in HA - In TUYA APP)' failed to setup triggers and has been disabled: Unknown device '4dd5d56540722b89d17aa95fe82b7d5b'
  442. 2024-09-17 16:05:57.167 WARNING (MainThread) [homeassistant.components.http.ban] Login attempt or request with invalid authentication from 192.168.1.181 (192.168.1.181). Requested URL: '/media/local/doorbell.mp3?authSig=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiI1MzYwNDAyMDk1NzA0MWNkOTNiYTg4M2VjNDZiMzA4YiIsInBhdGgiOiIvbWVkaWEvbG9jYWwvZG9vcmJlbGwubXAzIiwicGFyYW1zIjpbXSwiaWF0IjoxNzIxNzEyMzI0LCJleHAiOjE3MjE3OTg3MjR9.zuZIlqyX7l-8YiQz_aw50rTRY6xPgO6MmfGQLaSbIO8'. (Linux UPnP/1.0 Sonos/80.1-56190 (ZPS19))
  443. 2024-09-17 16:06:01.971 ERROR (MainThread) [homeassistant.helpers.event] Error while processing template: Template<template=({{ (states("sensor.outdoor_temperature") | float * 100 / states("sensor.albion_park_temp_max_0") | round(0) / 100 ) | round(2) }}) renders=2>
  444. Traceback (most recent call last):
  445. File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 2273, in forgiving_float_filter
  446. return float(value)
  447. ^^^^^^^^^^^^
  448. ValueError: could not convert string to float: 'unavailable'
  449.  
  450. During handling of the above exception, another exception occurred:
  451.  
  452. Traceback (most recent call last):
  453. File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 619, in async_render
  454. render_result = _render_with_context(self.template, compiled, **kwargs)
  455. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  456. File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 2654, in _render_with_context
  457. return template.render(**kwargs)
  458. ^^^^^^^^^^^^^^^^^^^^^^^^^
  459. File "/usr/local/lib/python3.12/site-packages/jinja2/environment.py", line 1304, in render
  460. self.environment.handle_exception()
  461. File "/usr/local/lib/python3.12/site-packages/jinja2/environment.py", line 939, in handle_exception
  462. raise rewrite_traceback_stack(source=source)
  463. File "<template>", line 1, in top-level template code
  464. File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 2276, in forgiving_float_filter
  465. raise_no_default("float", value)
  466. File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 1887, in raise_no_default
  467. raise ValueError(
  468. ValueError: Template error: float got invalid input 'unavailable' when rendering template '{{ (states("sensor.outdoor_temperature") | float * 100 / states("sensor.albion_park_temp_max_0") | round(0) / 100 ) | round(2) }}' but no default was specified
  469.  
  470. The above exception was the direct cause of the following exception:
  471.  
  472. Traceback (most recent call last):
  473. File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 731, in async_render_to_info
  474. render_info._result = self.async_render( # noqa: SLF001
  475. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  476. File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 621, in async_render
  477. raise TemplateError(err) from err
  478. homeassistant.exceptions.TemplateError: ValueError: Template error: float got invalid input 'unavailable' when rendering template '{{ (states("sensor.outdoor_temperature") | float * 100 / states("sensor.albion_park_temp_max_0") | round(0) / 100 ) | round(2) }}' but no default was specified
  479. 2024-09-17 16:06:01.975 ERROR (MainThread) [homeassistant.components.template.template_entity] TemplateError('ValueError: Template error: float got invalid input 'unavailable' when rendering template '{{ (states("sensor.outdoor_temperature") | float * 100 / states("sensor.albion_park_temp_max_0") | round(0) / 100 ) | round(2) }}' but no default was specified') while processing template 'Template<template=({{ (states("sensor.outdoor_temperature") | float * 100 / states("sensor.albion_park_temp_max_0") | round(0) / 100 ) | round(2) }}) renders=4>' for attribute '_attr_native_value' in entity 'sensor.aw_current_temp'
  480. 2024-09-17 16:06:01.989 ERROR (MainThread) [homeassistant.helpers.event] Error while processing template: Template<template=({{states('sensor.outdoor_temperature')| float}}) renders=2>
  481. Traceback (most recent call last):
  482. File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 2273, in forgiving_float_filter
  483. return float(value)
  484. ^^^^^^^^^^^^
  485. ValueError: could not convert string to float: 'unavailable'
  486.  
  487. During handling of the above exception, another exception occurred:
  488.  
  489. Traceback (most recent call last):
  490. File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 619, in async_render
  491. render_result = _render_with_context(self.template, compiled, **kwargs)
  492. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  493. File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 2654, in _render_with_context
  494. return template.render(**kwargs)
  495. ^^^^^^^^^^^^^^^^^^^^^^^^^
  496. File "/usr/local/lib/python3.12/site-packages/jinja2/environment.py", line 1304, in render
  497. self.environment.handle_exception()
  498. File "/usr/local/lib/python3.12/site-packages/jinja2/environment.py", line 939, in handle_exception
  499. raise rewrite_traceback_stack(source=source)
  500. File "<template>", line 1, in top-level template code
  501. File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 2276, in forgiving_float_filter
  502. raise_no_default("float", value)
  503. File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 1887, in raise_no_default
  504. raise ValueError(
  505. ValueError: Template error: float got invalid input 'unavailable' when rendering template '{{states('sensor.outdoor_temperature')| float}}' but no default was specified
  506.  
  507. The above exception was the direct cause of the following exception:
  508.  
  509. Traceback (most recent call last):
  510. File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 731, in async_render_to_info
  511. render_info._result = self.async_render( # noqa: SLF001
  512. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  513. File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 621, in async_render
  514. raise TemplateError(err) from err
  515. homeassistant.exceptions.TemplateError: ValueError: Template error: float got invalid input 'unavailable' when rendering template '{{states('sensor.outdoor_temperature')| float}}' but no default was specified
  516. 2024-09-17 16:06:01.990 ERROR (MainThread) [homeassistant.helpers.event] Error while processing template: Template<template=({{states('sensor.humidity')| float}}) renders=2>
  517. Traceback (most recent call last):
  518. File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 2273, in forgiving_float_filter
  519. return float(value)
  520. ^^^^^^^^^^^^
  521. ValueError: could not convert string to float: 'unavailable'
  522.  
  523. During handling of the above exception, another exception occurred:
  524.  
  525. Traceback (most recent call last):
  526. File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 619, in async_render
  527. render_result = _render_with_context(self.template, compiled, **kwargs)
  528. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  529. File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 2654, in _render_with_context
  530. return template.render(**kwargs)
  531. ^^^^^^^^^^^^^^^^^^^^^^^^^
  532. File "/usr/local/lib/python3.12/site-packages/jinja2/environment.py", line 1304, in render
  533. self.environment.handle_exception()
  534. File "/usr/local/lib/python3.12/site-packages/jinja2/environment.py", line 939, in handle_exception
  535. raise rewrite_traceback_stack(source=source)
  536. File "<template>", line 1, in top-level template code
  537. File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 2276, in forgiving_float_filter
  538. raise_no_default("float", value)
  539. File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 1887, in raise_no_default
  540. raise ValueError(
  541. ValueError: Template error: float got invalid input 'unavailable' when rendering template '{{states('sensor.humidity')| float}}' but no default was specified
  542.  
  543. The above exception was the direct cause of the following exception:
  544.  
  545. Traceback (most recent call last):
  546. File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 731, in async_render_to_info
  547. render_info._result = self.async_render( # noqa: SLF001
  548. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  549. File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 621, in async_render
  550. raise TemplateError(err) from err
  551. homeassistant.exceptions.TemplateError: ValueError: Template error: float got invalid input 'unavailable' when rendering template '{{states('sensor.humidity')| float}}' but no default was specified
  552. 2024-09-17 16:06:01.990 ERROR (MainThread) [homeassistant.helpers.event] Error while processing template: Template<template=({{states('sensor.relative_pressure')| float}}) renders=2>
  553. Traceback (most recent call last):
  554. File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 2273, in forgiving_float_filter
  555. return float(value)
  556. ^^^^^^^^^^^^
  557. ValueError: could not convert string to float: 'unavailable'
  558.  
  559. During handling of the above exception, another exception occurred:
  560.  
  561. Traceback (most recent call last):
  562. File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 619, in async_render
  563. render_result = _render_with_context(self.template, compiled, **kwargs)
  564. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  565. File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 2654, in _render_with_context
  566. return template.render(**kwargs)
  567. ^^^^^^^^^^^^^^^^^^^^^^^^^
  568. File "/usr/local/lib/python3.12/site-packages/jinja2/environment.py", line 1304, in render
  569. self.environment.handle_exception()
  570. File "/usr/local/lib/python3.12/site-packages/jinja2/environment.py", line 939, in handle_exception
  571. raise rewrite_traceback_stack(source=source)
  572. File "<template>", line 1, in top-level template code
  573. File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 2276, in forgiving_float_filter
  574. raise_no_default("float", value)
  575. File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 1887, in raise_no_default
  576. raise ValueError(
  577. ValueError: Template error: float got invalid input 'unavailable' when rendering template '{{states('sensor.relative_pressure')| float}}' but no default was specified
  578.  
  579. The above exception was the direct cause of the following exception:
  580.  
  581. Traceback (most recent call last):
  582. File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 731, in async_render_to_info
  583. render_info._result = self.async_render( # noqa: SLF001
  584. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  585. File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 621, in async_render
  586. raise TemplateError(err) from err
  587. homeassistant.exceptions.TemplateError: ValueError: Template error: float got invalid input 'unavailable' when rendering template '{{states('sensor.relative_pressure')| float}}' but no default was specified
  588. 2024-09-17 16:06:01.991 ERROR (MainThread) [homeassistant.helpers.event] Error while processing template: Template<template=({{states('sensor.wind_speed')| float}}) renders=2>
  589. Traceback (most recent call last):
  590. File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 2273, in forgiving_float_filter
  591. return float(value)
  592. ^^^^^^^^^^^^
  593. ValueError: could not convert string to float: 'unavailable'
  594.  
  595. During handling of the above exception, another exception occurred:
  596.  
  597. Traceback (most recent call last):
  598. File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 619, in async_render
  599. render_result = _render_with_context(self.template, compiled, **kwargs)
  600. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  601. File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 2654, in _render_with_context
  602. return template.render(**kwargs)
  603. ^^^^^^^^^^^^^^^^^^^^^^^^^
  604. File "/usr/local/lib/python3.12/site-packages/jinja2/environment.py", line 1304, in render
  605. self.environment.handle_exception()
  606. File "/usr/local/lib/python3.12/site-packages/jinja2/environment.py", line 939, in handle_exception
  607. raise rewrite_traceback_stack(source=source)
  608. File "<template>", line 1, in top-level template code
  609. File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 2276, in forgiving_float_filter
  610. raise_no_default("float", value)
  611. File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 1887, in raise_no_default
  612. raise ValueError(
  613. ValueError: Template error: float got invalid input 'unavailable' when rendering template '{{states('sensor.wind_speed')| float}}' but no default was specified
  614.  
  615. The above exception was the direct cause of the following exception:
  616.  
  617. Traceback (most recent call last):
  618. File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 731, in async_render_to_info
  619. render_info._result = self.async_render( # noqa: SLF001
  620. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  621. File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 621, in async_render
  622. raise TemplateError(err) from err
  623. homeassistant.exceptions.TemplateError: ValueError: Template error: float got invalid input 'unavailable' when rendering template '{{states('sensor.wind_speed')| float}}' but no default was specified
  624. 2024-09-17 16:06:01.992 ERROR (MainThread) [homeassistant.helpers.event] Error while processing template: Template<template=({{states('sensor.wind_direction')| float}}) renders=2>
  625. Traceback (most recent call last):
  626. File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 2273, in forgiving_float_filter
  627. return float(value)
  628. ^^^^^^^^^^^^
  629. ValueError: could not convert string to float: 'unavailable'
  630.  
  631. During handling of the above exception, another exception occurred:
  632.  
  633. Traceback (most recent call last):
  634. File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 619, in async_render
  635. render_result = _render_with_context(self.template, compiled, **kwargs)
  636. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  637. File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 2654, in _render_with_context
  638. return template.render(**kwargs)
  639. ^^^^^^^^^^^^^^^^^^^^^^^^^
  640. File "/usr/local/lib/python3.12/site-packages/jinja2/environment.py", line 1304, in render
  641. self.environment.handle_exception()
  642. File "/usr/local/lib/python3.12/site-packages/jinja2/environment.py", line 939, in handle_exception
  643. raise rewrite_traceback_stack(source=source)
  644. File "<template>", line 1, in top-level template code
  645. File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 2276, in forgiving_float_filter
  646. raise_no_default("float", value)
  647. File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 1887, in raise_no_default
  648. raise ValueError(
  649. ValueError: Template error: float got invalid input 'unavailable' when rendering template '{{states('sensor.wind_direction')| float}}' but no default was specified
  650.  
  651. The above exception was the direct cause of the following exception:
  652.  
  653. Traceback (most recent call last):
  654. File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 731, in async_render_to_info
  655. render_info._result = self.async_render( # noqa: SLF001
  656. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  657. File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 621, in async_render
  658. raise TemplateError(err) from err
  659. homeassistant.exceptions.TemplateError: ValueError: Template error: float got invalid input 'unavailable' when rendering template '{{states('sensor.wind_direction')| float}}' but no default was specified
  660. 2024-09-17 16:06:01.994 ERROR (MainThread) [homeassistant.components.template.template_entity] TemplateError('ValueError: Template error: float got invalid input 'unavailable' when rendering template '{{states('sensor.outdoor_temperature')| float}}' but no default was specified') while processing template 'Template<template=({{states('sensor.outdoor_temperature')| float}}) renders=4>' for attribute '_temperature' in entity 'weather.ecowitt_pws'
  661. 2024-09-17 16:06:01.994 ERROR (MainThread) [homeassistant.components.template.template_entity] TemplateError('ValueError: Template error: float got invalid input 'unavailable' when rendering template '{{states('sensor.humidity')| float}}' but no default was specified') while processing template 'Template<template=({{states('sensor.humidity')| float}}) renders=4>' for attribute '_humidity' in entity 'weather.ecowitt_pws'
  662. 2024-09-17 16:06:01.994 ERROR (MainThread) [homeassistant.components.template.template_entity] TemplateError('ValueError: Template error: float got invalid input 'unavailable' when rendering template '{{states('sensor.relative_pressure')| float}}' but no default was specified') while processing template 'Template<template=({{states('sensor.relative_pressure')| float}}) renders=4>' for attribute '_pressure' in entity 'weather.ecowitt_pws'
  663. 2024-09-17 16:06:01.994 ERROR (MainThread) [homeassistant.components.template.template_entity] TemplateError('ValueError: Template error: float got invalid input 'unavailable' when rendering template '{{states('sensor.wind_speed')| float}}' but no default was specified') while processing template 'Template<template=({{states('sensor.wind_speed')| float}}) renders=4>' for attribute '_wind_speed' in entity 'weather.ecowitt_pws'
  664. 2024-09-17 16:06:01.994 ERROR (MainThread) [homeassistant.components.template.template_entity] TemplateError('ValueError: Template error: float got invalid input 'unavailable' when rendering template '{{states('sensor.wind_direction')| float}}' but no default was specified') while processing template 'Template<template=({{states('sensor.wind_direction')| float}}) renders=4>' for attribute '_wind_bearing' in entity 'weather.ecowitt_pws'
  665. 2024-09-17 16:06:02.707 DEBUG (SyncWorker_25) [hyundai_kia_connect_api.KiaUvoApiAU] hyundai_kia_connect_api - Get Device ID request: {'ccsp-service-id': '855c72df-dfd7-4230-ab03-67cbf902bb1c', 'ccsp-application-id': 'f9ccfdac-a48d-4c57-bd32-9116963c24ed', 'Stamp': 'MZR18y/WJGWtH4R9s4CDnIE8xgFHHmTvJOMcLQ0DsPfNsizuovRkWvfa1PG3+DI=', 'Content-Type': 'application/json;charset=UTF-8', 'Host': 'au-apigw.ccs.hyundai.com.au:8080', 'Connection': 'Keep-Alive', 'Accept-Encoding': 'gzip', 'User-Agent': 'okhttp/3.12.0'} {'pushRegId': '659a56a6eb8c4ab2f2b662616eac75f4887dbeae076283b530571a470546abc8', 'pushType': 'GCM', 'uuid': 'eba4ff71-05c5-41ae-a840-3bddbff2bc0e'}
  666. 2024-09-17 16:06:03.329 DEBUG (SyncWorker_25) [hyundai_kia_connect_api.KiaUvoApiAU] hyundai_kia_connect_api - Get Device ID response: {'retCode': 'S', 'resCode': '0000', 'resMsg': {'deviceId': '875af950-3b33-4a46-8141-852e00e7dc49'}, 'msgId': '7c9b9cfa-4c9c-49b2-be87-137ddd9b6180'}
  667. 2024-09-17 16:06:03.329 DEBUG (SyncWorker_25) [hyundai_kia_connect_api.KiaUvoApiAU] hyundai_kia_connect_api - Get cookies request: https://au-apigw.ccs.hyundai.com.au:8080/api/v1/user/oauth2/authorize?response_type=code&client_id=855c72df-dfd7-4230-ab03-67cbf902bb1c&redirect_uri=https://au-apigw.ccs.hyundai.com.au:8080/api/v1/user/oauth2/redirect&lang=en
  668. 2024-09-17 16:06:04.043 DEBUG (SyncWorker_25) [hyundai_kia_connect_api.KiaUvoApiAU] hyundai_kia_connect_api - Get cookies response: {'account': 'Mjg3MmNiN2YtYzJhYy00YmZkLWEyNGMtNzQ2YjI1MGE1NzVk.49e4fc95bbe9d198623a962b2493191e0cc8f996'}
  669. 2024-09-17 16:06:04.163 ERROR (MainThread) [custom_components.watchman.utils] Unable to parse /config/._secrets.yaml: 'utf-8' codec can't decode byte 0xb0 in position 37: invalid start byte. Use UTF-8 encoding to avoid this error
  670. 2024-09-17 16:06:04.708 DEBUG (SyncWorker_25) [hyundai_kia_connect_api.KiaUvoApiAU] hyundai_kia_connect_api - Sign In Response: {'redirectUrl': 'https://au-apigw.ccs.hyundai.com.au:8080/api/v1/user/oauth2/redirect?code=BZTKGAFONW2FKKBGEIB1QW', 'popup': False, 'method': '', 'upgrade': False, 'integrated': False, 'deleteAccountLink': ''}
  671. 2024-09-17 16:06:04.708 DEBUG (SyncWorker_25) [hyundai_kia_connect_api.KiaUvoApiAU] hyundai_kia_connect_api - Get Access Token Data: {'Authorization': 'Basic ODU1YzcyZGYtZGZkNy00MjMwLWFiMDMtNjdjYmY5MDJiYjFjOmU2ZmJ3SE0zMllOYmhRbDBwdmlhUHAzcmY0dDNTNms5MWVjZUEzTUpMZGJkVGhDTw==', 'Stamp': 'MZR18y/WJGWtH4R9s4CDnIE8xgFHHmTvJOMcLQ0DsPfNsizuovRkWvfa1PG3+DI=', 'Content-type': 'application/x-www-form-urlencoded', 'Host': 'au-apigw.ccs.hyundai.com.au:8080', 'Connection': 'close', 'Accept-Encoding': 'gzip, deflate', 'User-Agent': 'okhttp/3.12.0'}grant_type=authorization_code&redirect_uri=https%3A%2F%2Fau-apigw.ccs.hyundai.com.au:8080%2Fapi%2Fv1%2Fuser%2Foauth2%2Fredirect&code=BZTKGAFONW2FKKBGEIB1QW
  672. 2024-09-17 16:06:05.277 DEBUG (SyncWorker_25) [hyundai_kia_connect_api.KiaUvoApiAU] hyundai_kia_connect_api - Get Access Token Response: {'access_token': 'eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJwaWQiOiI1YjdjYzgzZTI0OTA5MjI1MDQyNmFhMjciLCJ1aWQiOiJkNjIwNzk0YS1kZTVkLTRjODYtYWFlMy1lOTE4ZGJiNjRiMTUiLCJzaWQiOiI4NTVjNzJkZi1kZmQ3LTQyMzAtYWIwMy02N2NiZjkwMmJiMWMiLCJleHAiOjE3MjY2Mzk1NjUsImlhdCI6MTcyNjU1MzE2NSwiaXNzIjoiYmx1ZWxpbmsifQ.dNHxFMUjFRTdh9dKApH88T_O0q7jkF578hlKcrA1nWkTaggKgb5QEVjNfijz33jkP6shNGtM0aSgvsPltuG7w5N1ZrMgPqwJcAaeMtYSxhGpFtr77sGP2SOWW-DHIGSUHIcNs5O0rBhgk81iGDrYOa2iWwe3m1VoWw14ZhMP-TXe4Lszrto_KxwOTZw1uWes-Bcj2ylXCoBP5V4UnYhQMDSHSaHE3rCDrEBbq-qcuixYm5Wfw1P8lAUmWw7QowKb600pRXexTINIk98H1NizY1CQRGYlgG5THgLsJm96STrqEwXh7DRpGPxzXwLGIHsmKJuzmJ70me5hvEtJZS5Vrw', 'token_type': 'Bearer', 'refresh_token': 'NUPDPEXIWEIQ9LLXE34S_A', 'expires_in': 86400}
  673. 2024-09-17 16:06:05.277 DEBUG (SyncWorker_25) [hyundai_kia_connect_api.KiaUvoApiAU] hyundai_kia_connect_api - Access Token Value Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJwaWQiOiI1YjdjYzgzZTI0OTA5MjI1MDQyNmFhMjciLCJ1aWQiOiJkNjIwNzk0YS1kZTVkLTRjODYtYWFlMy1lOTE4ZGJiNjRiMTUiLCJzaWQiOiI4NTVjNzJkZi1kZmQ3LTQyMzAtYWIwMy02N2NiZjkwMmJiMWMiLCJleHAiOjE3MjY2Mzk1NjUsImlhdCI6MTcyNjU1MzE2NSwiaXNzIjoiYmx1ZWxpbmsifQ.dNHxFMUjFRTdh9dKApH88T_O0q7jkF578hlKcrA1nWkTaggKgb5QEVjNfijz33jkP6shNGtM0aSgvsPltuG7w5N1ZrMgPqwJcAaeMtYSxhGpFtr77sGP2SOWW-DHIGSUHIcNs5O0rBhgk81iGDrYOa2iWwe3m1VoWw14ZhMP-TXe4Lszrto_KxwOTZw1uWes-Bcj2ylXCoBP5V4UnYhQMDSHSaHE3rCDrEBbq-qcuixYm5Wfw1P8lAUmWw7QowKb600pRXexTINIk98H1NizY1CQRGYlgG5THgLsJm96STrqEwXh7DRpGPxzXwLGIHsmKJuzmJ70me5hvEtJZS5Vrw
  674. 2024-09-17 16:06:05.277 DEBUG (SyncWorker_25) [hyundai_kia_connect_api.KiaUvoApiAU] hyundai_kia_connect_api - Get Refresh Token Data: grant_type=refresh_token&refresh_token=NUPDPEXIWEIQ9LLXE34S_A
  675. 2024-09-17 16:06:05.844 DEBUG (SyncWorker_25) [hyundai_kia_connect_api.KiaUvoApiAU] hyundai_kia_connect_api - Get Refresh Token Response: {'access_token': 'eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJwaWQiOiI1YjdjYzgzZTI0OTA5MjI1MDQyNmFhMjciLCJ1aWQiOiJkNjIwNzk0YS1kZTVkLTRjODYtYWFlMy1lOTE4ZGJiNjRiMTUiLCJzaWQiOiI4NTVjNzJkZi1kZmQ3LTQyMzAtYWIwMy02N2NiZjkwMmJiMWMiLCJleHAiOjE3MjY2Mzk1NjUsImlhdCI6MTcyNjU1MzE2NSwiaXNzIjoiYmx1ZWxpbmsifQ.dNHxFMUjFRTdh9dKApH88T_O0q7jkF578hlKcrA1nWkTaggKgb5QEVjNfijz33jkP6shNGtM0aSgvsPltuG7w5N1ZrMgPqwJcAaeMtYSxhGpFtr77sGP2SOWW-DHIGSUHIcNs5O0rBhgk81iGDrYOa2iWwe3m1VoWw14ZhMP-TXe4Lszrto_KxwOTZw1uWes-Bcj2ylXCoBP5V4UnYhQMDSHSaHE3rCDrEBbq-qcuixYm5Wfw1P8lAUmWw7QowKb600pRXexTINIk98H1NizY1CQRGYlgG5THgLsJm96STrqEwXh7DRpGPxzXwLGIHsmKJuzmJ70me5hvEtJZS5Vrw', 'token_type': 'Bearer', 'expires_in': 86400}
  676. 2024-09-17 16:06:06.436 DEBUG (SyncWorker_25) [hyundai_kia_connect_api.KiaUvoApiAU] hyundai_kia_connect_api - Get Vehicles Response: {'retCode': 'S', 'resCode': '0000', 'resMsg': {'vehicles': [{'vin': 'KMHR781ASRU715759', 'vehicleId': 'e998e7f5-8a79-43a1-9aab-a642c66e0426', 'vehicleName': 'PALISADE 19/22', 'type': 'GN', 'tmuNum': '-', 'nickname': 'PALISADE', 'year': '2024', 'master': False, 'carShare': -1, 'regDate': '2024-01-18 20:00:15.569', 'detailInfo': {'inColor': 'NKE', 'outColor': 'WC9', 'bodyType': '3', 'saleCarmdlCd': 'S8', 'prodCarmdlCd': 'S8', 'saleCarmdlEnNm': 'PALISADE'}, 'protocolType': 0, 'ccuCCS2ProtocolSupport': 0}]}, 'msgId': '79e1bad1-32ed-4361-8bf6-4dfadc42cd14'}
  677. 2024-09-17 16:06:07.009 DEBUG (SyncWorker_18) [hyundai_kia_connect_api.KiaUvoApiAU] hyundai_kia_connect_api - get_cached_vehicle_status response: {'retCode': 'S', 'resCode': '0000', 'resMsg': {'airCtrlOn': False, 'engine': False, 'doorLock': True, 'doorOpen': {'frontLeft': 0, 'frontRight': 0, 'backLeft': 0, 'backRight': 0}, 'trunkOpen': False, 'airTemp': {'value': '00H', 'unit': 0, 'hvacTempType': 1}, 'defrost': False, 'lowFuelLight': False, 'acc': False, 'ign3': False, 'hoodOpen': False, 'transCond': True, 'steerWheelHeat': 0, 'sideBackWindowHeat': 0, 'dte': {'value': 146, 'unit': 1}, 'tirePressureLamp': {'tirePressureLampAll': 0, 'tirePressureLampFL': 0, 'tirePressureLampFR': 0, 'tirePressureLampRL': 0, 'tirePressureLampRR': 0}, 'seatHeaterVentState': {'drvSeatHeatState': 2, 'astSeatHeatState': 2, 'rlSeatHeatState': 2, 'rrSeatHeatState': 2}, 'battery': {'batSoc': 81, 'batState': 0, 'sjbDeliveryMode': 0, 'batSignalReferenceValue': {'batWarning': 0}, 'powerAutoCutMode': 2}, 'sunroofOpen': False, 'lampWireStatus': {'stopLamp': {'stopLampStatus': False, 'leftLamp': False, 'rightLamp': False}, 'headLamp': {'headLampStatus': False, 'leftLowLamp': False, 'rightLowLamp': False, 'leftHighLamp': False, 'rightHighLamp': False, 'leftBifuncLamp': False, 'rightBifuncLamp': False}, 'turnSignalLamp': {'turnSignalLampStatus': False, 'leftFrontLamp': False, 'rightFrontLamp': False, 'leftRearLamp': False, 'rightRearLamp': False}}, 'windowOpen': {'frontLeft': 0, 'frontRight': 0, 'backLeft': 0, 'backRight': 0}, 'smartKeyBatteryWarning': False, 'fuelLevel': 17, 'washerFluidStatus': False, 'breakOilStatus': False, 'engineOilStatus': False, 'sleepModeCheck': True, 'vehicleMovementHis': False, 'vehicleSlope': False, 'neutralPosition': False, 'parkingBrakeHighNotch': False, 'time': '20240917081218', 'remoteWaitingTimeAlert': {'remoteControlAvailable': 1, 'remoteControlWaitingTime': 168, 'elapsedTime': '00:10:20'}, 'systemCutOffAlert': 0, 'tailLampStatus': 0, 'hazardStatus': 0, 'deicer': False}, 'msgId': 'e3851f8a-59f6-4841-ab67-ef0376dbe9cf'}
  678. 2024-09-17 16:06:07.592 DEBUG (SyncWorker_18) [hyundai_kia_connect_api.KiaUvoApiAU] hyundai_kia_connect_api - _get_location response: {'retCode': 'S', 'resCode': '0000', 'resMsg': {'coord': {'lat': -34.407692, 'lon': 150.878375, 'alt': 0, 'type': 0}, 'time': '20240917081211'}, 'msgId': '07f8c329-5b2a-480a-81e2-ed0f4dceef3d'}
  679. 2024-09-17 16:06:07.592 DEBUG (SyncWorker_18) [hyundai_kia_connect_api.KiaUvoApiAU] hyundai_kia_connect_api - _get_location failed
  680. 2024-09-17 16:06:07.592 DEBUG (SyncWorker_18) [hyundai_kia_connect_api.KiaUvoApiAU] hyundai_kia_connect_api - SOC Levels couldn't be found. May not be an EV.
  681. 2024-09-17 16:06:07.593 ERROR (MainThread) [custom_components.kia_uvo.coordinator] Force update failed, falling back to cached: Traceback (most recent call last):
  682. File "/config/custom_components/kia_uvo/coordinator.py", line 126, in _async_update_data
  683. await self.hass.async_add_executor_job(
  684. File "/usr/local/lib/python3.12/concurrent/futures/thread.py", line 58, in run
  685. result = self.fn(*self.args, **self.kwargs)
  686. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  687. File "/usr/local/lib/python3.12/site-packages/hyundai_kia_connect_api/VehicleManager.py", line 115, in check_and_force_update_vehicles
  688. self.update_vehicle_with_cached_state(vehicle_id)
  689. File "/usr/local/lib/python3.12/site-packages/hyundai_kia_connect_api/VehicleManager.py", line 90, in update_vehicle_with_cached_state
  690. self.api.update_vehicle_with_cached_state(self.token, vehicle)
  691. File "/usr/local/lib/python3.12/site-packages/hyundai_kia_connect_api/KiaUvoApiAU.py", line 259, in update_vehicle_with_cached_state
  692. self._update_vehicle_drive_info(vehicle, state)
  693. ^^^^^
  694. UnboundLocalError: cannot access local variable 'state' where it is not associated with a value
  695. Traceback (most recent call last):
  696. File "/config/custom_components/kia_uvo/coordinator.py", line 126, in _async_update_data
  697. await self.hass.async_add_executor_job(
  698. File "/usr/local/lib/python3.12/concurrent/futures/thread.py", line 58, in run
  699. result = self.fn(*self.args, **self.kwargs)
  700. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  701. File "/usr/local/lib/python3.12/site-packages/hyundai_kia_connect_api/VehicleManager.py", line 115, in check_and_force_update_vehicles
  702. self.update_vehicle_with_cached_state(vehicle_id)
  703. File "/usr/local/lib/python3.12/site-packages/hyundai_kia_connect_api/VehicleManager.py", line 90, in update_vehicle_with_cached_state
  704. self.api.update_vehicle_with_cached_state(self.token, vehicle)
  705. File "/usr/local/lib/python3.12/site-packages/hyundai_kia_connect_api/KiaUvoApiAU.py", line 259, in update_vehicle_with_cached_state
  706. self._update_vehicle_drive_info(vehicle, state)
  707. ^^^^^
  708. UnboundLocalError: cannot access local variable 'state' where it is not associated with a value
  709. 2024-09-17 16:06:08.183 DEBUG (SyncWorker_24) [hyundai_kia_connect_api.KiaUvoApiAU] hyundai_kia_connect_api - get_cached_vehicle_status response: {'retCode': 'S', 'resCode': '0000', 'resMsg': {'airCtrlOn': False, 'engine': False, 'doorLock': True, 'doorOpen': {'frontLeft': 0, 'frontRight': 0, 'backLeft': 0, 'backRight': 0}, 'trunkOpen': False, 'airTemp': {'value': '00H', 'unit': 0, 'hvacTempType': 1}, 'defrost': False, 'lowFuelLight': False, 'acc': False, 'ign3': False, 'hoodOpen': False, 'transCond': True, 'steerWheelHeat': 0, 'sideBackWindowHeat': 0, 'dte': {'value': 146, 'unit': 1}, 'tirePressureLamp': {'tirePressureLampAll': 0, 'tirePressureLampFL': 0, 'tirePressureLampFR': 0, 'tirePressureLampRL': 0, 'tirePressureLampRR': 0}, 'seatHeaterVentState': {'drvSeatHeatState': 2, 'astSeatHeatState': 2, 'rlSeatHeatState': 2, 'rrSeatHeatState': 2}, 'battery': {'batSoc': 81, 'batState': 0, 'sjbDeliveryMode': 0, 'batSignalReferenceValue': {'batWarning': 0}, 'powerAutoCutMode': 2}, 'sunroofOpen': False, 'lampWireStatus': {'stopLamp': {'stopLampStatus': False, 'leftLamp': False, 'rightLamp': False}, 'headLamp': {'headLampStatus': False, 'leftLowLamp': False, 'rightLowLamp': False, 'leftHighLamp': False, 'rightHighLamp': False, 'leftBifuncLamp': False, 'rightBifuncLamp': False}, 'turnSignalLamp': {'turnSignalLampStatus': False, 'leftFrontLamp': False, 'rightFrontLamp': False, 'leftRearLamp': False, 'rightRearLamp': False}}, 'windowOpen': {'frontLeft': 0, 'frontRight': 0, 'backLeft': 0, 'backRight': 0}, 'smartKeyBatteryWarning': False, 'fuelLevel': 17, 'washerFluidStatus': False, 'breakOilStatus': False, 'engineOilStatus': False, 'sleepModeCheck': True, 'vehicleMovementHis': False, 'vehicleSlope': False, 'neutralPosition': False, 'parkingBrakeHighNotch': False, 'time': '20240917081218', 'remoteWaitingTimeAlert': {'remoteControlAvailable': 1, 'remoteControlWaitingTime': 168, 'elapsedTime': '00:10:20'}, 'systemCutOffAlert': 0, 'tailLampStatus': 0, 'hazardStatus': 0, 'deicer': False}, 'msgId': '37889926-0321-4033-8f04-cf472c1fc9b8'}
  710. 2024-09-17 16:06:08.761 DEBUG (SyncWorker_24) [hyundai_kia_connect_api.KiaUvoApiAU] hyundai_kia_connect_api - _get_location response: {'retCode': 'S', 'resCode': '0000', 'resMsg': {'coord': {'lat': -34.407692, 'lon': 150.878375, 'alt': 0, 'type': 0}, 'time': '20240917081211'}, 'msgId': '67c70171-40b7-4301-b8ba-66a0e0f7bd20'}
  711. 2024-09-17 16:06:08.761 DEBUG (SyncWorker_24) [hyundai_kia_connect_api.KiaUvoApiAU] hyundai_kia_connect_api - _get_location failed
  712. 2024-09-17 16:06:08.761 DEBUG (SyncWorker_24) [hyundai_kia_connect_api.KiaUvoApiAU] hyundai_kia_connect_api - SOC Levels couldn't be found. May not be an EV.
  713. 2024-09-17 16:06:08.763 ERROR (MainThread) [custom_components.kia_uvo.coordinator] Cached update failed: Traceback (most recent call last):
  714. File "/config/custom_components/kia_uvo/coordinator.py", line 126, in _async_update_data
  715. await self.hass.async_add_executor_job(
  716. File "/usr/local/lib/python3.12/concurrent/futures/thread.py", line 58, in run
  717. result = self.fn(*self.args, **self.kwargs)
  718. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  719. File "/usr/local/lib/python3.12/site-packages/hyundai_kia_connect_api/VehicleManager.py", line 115, in check_and_force_update_vehicles
  720. self.update_vehicle_with_cached_state(vehicle_id)
  721. File "/usr/local/lib/python3.12/site-packages/hyundai_kia_connect_api/VehicleManager.py", line 90, in update_vehicle_with_cached_state
  722. self.api.update_vehicle_with_cached_state(self.token, vehicle)
  723. File "/usr/local/lib/python3.12/site-packages/hyundai_kia_connect_api/KiaUvoApiAU.py", line 259, in update_vehicle_with_cached_state
  724. self._update_vehicle_drive_info(vehicle, state)
  725. ^^^^^
  726. UnboundLocalError: cannot access local variable 'state' where it is not associated with a value
  727.  
  728. During handling of the above exception, another exception occurred:
  729.  
  730. Traceback (most recent call last):
  731. File "/config/custom_components/kia_uvo/coordinator.py", line 135, in _async_update_data
  732. await self.hass.async_add_executor_job(
  733. File "/usr/local/lib/python3.12/concurrent/futures/thread.py", line 58, in run
  734. result = self.fn(*self.args, **self.kwargs)
  735. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  736. File "/usr/local/lib/python3.12/site-packages/hyundai_kia_connect_api/VehicleManager.py", line 85, in update_all_vehicles_with_cached_state
  737. self.update_vehicle_with_cached_state(vehicle_id)
  738. File "/usr/local/lib/python3.12/site-packages/hyundai_kia_connect_api/VehicleManager.py", line 90, in update_vehicle_with_cached_state
  739. self.api.update_vehicle_with_cached_state(self.token, vehicle)
  740. File "/usr/local/lib/python3.12/site-packages/hyundai_kia_connect_api/KiaUvoApiAU.py", line 259, in update_vehicle_with_cached_state
  741. self._update_vehicle_drive_info(vehicle, state)
  742. ^^^^^
  743. UnboundLocalError: cannot access local variable 'state' where it is not associated with a value
  744. Traceback (most recent call last):
  745. File "/config/custom_components/kia_uvo/coordinator.py", line 126, in _async_update_data
  746. await self.hass.async_add_executor_job(
  747. File "/usr/local/lib/python3.12/concurrent/futures/thread.py", line 58, in run
  748. result = self.fn(*self.args, **self.kwargs)
  749. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  750. File "/usr/local/lib/python3.12/site-packages/hyundai_kia_connect_api/VehicleManager.py", line 115, in check_and_force_update_vehicles
  751. self.update_vehicle_with_cached_state(vehicle_id)
  752. File "/usr/local/lib/python3.12/site-packages/hyundai_kia_connect_api/VehicleManager.py", line 90, in update_vehicle_with_cached_state
  753. self.api.update_vehicle_with_cached_state(self.token, vehicle)
  754. File "/usr/local/lib/python3.12/site-packages/hyundai_kia_connect_api/KiaUvoApiAU.py", line 259, in update_vehicle_with_cached_state
  755. self._update_vehicle_drive_info(vehicle, state)
  756. ^^^^^
  757. UnboundLocalError: cannot access local variable 'state' where it is not associated with a value
  758.  
  759. During handling of the above exception, another exception occurred:
  760.  
  761. Traceback (most recent call last):
  762. File "/config/custom_components/kia_uvo/coordinator.py", line 135, in _async_update_data
  763. await self.hass.async_add_executor_job(
  764. File "/usr/local/lib/python3.12/concurrent/futures/thread.py", line 58, in run
  765. result = self.fn(*self.args, **self.kwargs)
  766. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  767. File "/usr/local/lib/python3.12/site-packages/hyundai_kia_connect_api/VehicleManager.py", line 85, in update_all_vehicles_with_cached_state
  768. self.update_vehicle_with_cached_state(vehicle_id)
  769. File "/usr/local/lib/python3.12/site-packages/hyundai_kia_connect_api/VehicleManager.py", line 90, in update_vehicle_with_cached_state
  770. self.api.update_vehicle_with_cached_state(self.token, vehicle)
  771. File "/usr/local/lib/python3.12/site-packages/hyundai_kia_connect_api/KiaUvoApiAU.py", line 259, in update_vehicle_with_cached_state
  772. self._update_vehicle_drive_info(vehicle, state)
  773. ^^^^^
  774. UnboundLocalError: cannot access local variable 'state' where it is not associated with a value
  775. 2024-09-17 16:06:08.764 DEBUG (MainThread) [custom_components.kia_uvo.coordinator] Finished fetching kia_uvo data in 6.064 seconds (success: False)
  776. 2024-09-17 16:06:12.895 WARNING (Recorder) [homeassistant.components.recorder.db_schema] State attributes for sensor.watchman_missing_entities exceed maximum size of 16384 bytes. This can cause database performance issues; Attributes will not be stored
  777. 2024-09-17 16:06:15.820 WARNING (Recorder) [homeassistant.components.recorder.db_schema] State attributes for sensor.watchman_missing_entities exceed maximum size of 16384 bytes. This can cause database performance issues; Attributes will not be stored
  778. 2024-09-17 16:06:15.854 WARNING (Recorder) [homeassistant.components.recorder.db_schema] State attributes for sensor.watchman_missing_entities exceed maximum size of 16384 bytes. This can cause database performance issues; Attributes will not be stored
  779. 2024-09-17 16:06:18.996 DEBUG (SyncWorker_4) [hyundai_kia_connect_api.KiaUvoApiAU] hyundai_kia_connect_api - Get Device ID request: {'ccsp-service-id': '855c72df-dfd7-4230-ab03-67cbf902bb1c', 'ccsp-application-id': 'f9ccfdac-a48d-4c57-bd32-9116963c24ed', 'Stamp': 'MZR18y/WJGWtH4R9s4CDnIE8xgFHHmTvJOMcLQ0DsPfNsizuovRkWvfa1PG3+Tg=', 'Content-Type': 'application/json;charset=UTF-8', 'Host': 'au-apigw.ccs.hyundai.com.au:8080', 'Connection': 'Keep-Alive', 'Accept-Encoding': 'gzip', 'User-Agent': 'okhttp/3.12.0'} {'pushRegId': '2e7864cc2c2d0bafba3a7342b06590b9adf2bb19e6769c584761caf63ab63101', 'pushType': 'GCM', 'uuid': 'e276c326-d9e3-4031-82e8-566294c1d04a'}
  780. 2024-09-17 16:06:19.599 DEBUG (SyncWorker_4) [hyundai_kia_connect_api.KiaUvoApiAU] hyundai_kia_connect_api - Get Device ID response: {'retCode': 'S', 'resCode': '0000', 'resMsg': {'deviceId': '6efd1d08-5e51-44a1-9841-7b2e4dc0189e'}, 'msgId': 'd1db5f6f-cad4-4eac-bb50-ce299c9fa5bf'}
  781. 2024-09-17 16:06:19.600 DEBUG (SyncWorker_4) [hyundai_kia_connect_api.KiaUvoApiAU] hyundai_kia_connect_api - Get cookies request: https://au-apigw.ccs.hyundai.com.au:8080/api/v1/user/oauth2/authorize?response_type=code&client_id=855c72df-dfd7-4230-ab03-67cbf902bb1c&redirect_uri=https://au-apigw.ccs.hyundai.com.au:8080/api/v1/user/oauth2/redirect&lang=en
  782. 2024-09-17 16:06:20.317 DEBUG (SyncWorker_4) [hyundai_kia_connect_api.KiaUvoApiAU] hyundai_kia_connect_api - Get cookies response: {'account': 'MDlmYTVjZjktNTE3Yi00M2JjLTgyNTctOGU3NmU0ZjZhOWE1.cfce0984c2a44f651b967e30a42aa64683d58c13'}
  783. 2024-09-17 16:06:20.964 DEBUG (SyncWorker_4) [hyundai_kia_connect_api.KiaUvoApiAU] hyundai_kia_connect_api - Sign In Response: {'redirectUrl': 'https://au-apigw.ccs.hyundai.com.au:8080/api/v1/user/oauth2/redirect?code=VRJJXDOTOVS8FSAGJYUZAG', 'popup': False, 'method': '', 'upgrade': False, 'integrated': False, 'deleteAccountLink': ''}
  784. 2024-09-17 16:06:20.964 DEBUG (SyncWorker_4) [hyundai_kia_connect_api.KiaUvoApiAU] hyundai_kia_connect_api - Get Access Token Data: {'Authorization': 'Basic ODU1YzcyZGYtZGZkNy00MjMwLWFiMDMtNjdjYmY5MDJiYjFjOmU2ZmJ3SE0zMllOYmhRbDBwdmlhUHAzcmY0dDNTNms5MWVjZUEzTUpMZGJkVGhDTw==', 'Stamp': 'MZR18y/WJGWtH4R9s4CDnIE8xgFHHmTvJOMcLQ0DsPfNsizuovRkWvfa1PG3+Tg=', 'Content-type': 'application/x-www-form-urlencoded', 'Host': 'au-apigw.ccs.hyundai.com.au:8080', 'Connection': 'close', 'Accept-Encoding': 'gzip, deflate', 'User-Agent': 'okhttp/3.12.0'}grant_type=authorization_code&redirect_uri=https%3A%2F%2Fau-apigw.ccs.hyundai.com.au:8080%2Fapi%2Fv1%2Fuser%2Foauth2%2Fredirect&code=VRJJXDOTOVS8FSAGJYUZAG
  785. 2024-09-17 16:06:21.203 WARNING (Recorder) [homeassistant.components.recorder.db_schema] State attributes for sensor.watchman_missing_entities exceed maximum size of 16384 bytes. This can cause database performance issues; Attributes will not be stored
  786. 2024-09-17 16:06:21.230 WARNING (Recorder) [homeassistant.components.recorder.db_schema] State attributes for sensor.watchman_missing_entities exceed maximum size of 16384 bytes. This can cause database performance issues; Attributes will not be stored
  787. 2024-09-17 16:06:21.234 WARNING (Recorder) [homeassistant.components.recorder.db_schema] State attributes for sensor.watchman_missing_entities exceed maximum size of 16384 bytes. This can cause database performance issues; Attributes will not be stored
  788. 2024-09-17 16:06:21.236 WARNING (Recorder) [homeassistant.components.recorder.db_schema] State attributes for sensor.watchman_missing_entities exceed maximum size of 16384 bytes. This can cause database performance issues; Attributes will not be stored
  789. 2024-09-17 16:06:21.542 DEBUG (SyncWorker_4) [hyundai_kia_connect_api.KiaUvoApiAU] hyundai_kia_connect_api - Get Access Token Response: {'access_token': 'eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJwaWQiOiI1YjdjYzgzZTI0OTA5MjI1MDQyNmFhMjciLCJ1aWQiOiJkNjIwNzk0YS1kZTVkLTRjODYtYWFlMy1lOTE4ZGJiNjRiMTUiLCJzaWQiOiI4NTVjNzJkZi1kZmQ3LTQyMzAtYWIwMy02N2NiZjkwMmJiMWMiLCJleHAiOjE3MjY2Mzk1ODEsImlhdCI6MTcyNjU1MzE4MSwiaXNzIjoiYmx1ZWxpbmsifQ.ln8t8f-kXKSbw4X32AZqYT3v-TibkEDXrAWBaY0IH1MdYDKew8p-5r4embGypbIU4yRulVHszSPOlfHeFtMKqwHd_ynaB6fPQ33n2_5KIc6cvi26cdpKu63iB9XtbohWvoFVSYfLprNJuey2z0RY41jzL0mHnACirEeP25H-OtqsYk6vmmSiI1RCh81rH9y7WCjTDRZc2f6FU3LHDW9apqbgpX9fKRTB8RFcjJKc4GeyNAIOpkqPIV1u8rIbgVnJUzfe3dfsZDzStw1hgNVbuLzUduMNOtmGp2E9R9Ky5oB--Gk-DSsFFPnDqZTIZiCnQ2tP8v2fplMviUEoodv-DQ', 'token_type': 'Bearer', 'refresh_token': 'EPVV9NLUXWU2U03LVNFULQ', 'expires_in': 86400}
  790. 2024-09-17 16:06:21.543 DEBUG (SyncWorker_4) [hyundai_kia_connect_api.KiaUvoApiAU] hyundai_kia_connect_api - Access Token Value Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJwaWQiOiI1YjdjYzgzZTI0OTA5MjI1MDQyNmFhMjciLCJ1aWQiOiJkNjIwNzk0YS1kZTVkLTRjODYtYWFlMy1lOTE4ZGJiNjRiMTUiLCJzaWQiOiI4NTVjNzJkZi1kZmQ3LTQyMzAtYWIwMy02N2NiZjkwMmJiMWMiLCJleHAiOjE3MjY2Mzk1ODEsImlhdCI6MTcyNjU1MzE4MSwiaXNzIjoiYmx1ZWxpbmsifQ.ln8t8f-kXKSbw4X32AZqYT3v-TibkEDXrAWBaY0IH1MdYDKew8p-5r4embGypbIU4yRulVHszSPOlfHeFtMKqwHd_ynaB6fPQ33n2_5KIc6cvi26cdpKu63iB9XtbohWvoFVSYfLprNJuey2z0RY41jzL0mHnACirEeP25H-OtqsYk6vmmSiI1RCh81rH9y7WCjTDRZc2f6FU3LHDW9apqbgpX9fKRTB8RFcjJKc4GeyNAIOpkqPIV1u8rIbgVnJUzfe3dfsZDzStw1hgNVbuLzUduMNOtmGp2E9R9Ky5oB--Gk-DSsFFPnDqZTIZiCnQ2tP8v2fplMviUEoodv-DQ
  791. 2024-09-17 16:06:21.543 DEBUG (SyncWorker_4) [hyundai_kia_connect_api.KiaUvoApiAU] hyundai_kia_connect_api - Get Refresh Token Data: grant_type=refresh_token&refresh_token=EPVV9NLUXWU2U03LVNFULQ
  792. 2024-09-17 16:06:22.114 DEBUG (SyncWorker_4) [hyundai_kia_connect_api.KiaUvoApiAU] hyundai_kia_connect_api - Get Refresh Token Response: {'access_token': 'eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJwaWQiOiI1YjdjYzgzZTI0OTA5MjI1MDQyNmFhMjciLCJ1aWQiOiJkNjIwNzk0YS1kZTVkLTRjODYtYWFlMy1lOTE4ZGJiNjRiMTUiLCJzaWQiOiI4NTVjNzJkZi1kZmQ3LTQyMzAtYWIwMy02N2NiZjkwMmJiMWMiLCJleHAiOjE3MjY2Mzk1ODIsImlhdCI6MTcyNjU1MzE4MiwiaXNzIjoiYmx1ZWxpbmsifQ.ASp2w0JGxVBrLhPxI1qfjwZycm5diIP8ps44CpFo3iLUPnqUY44sAoFdaBxBbpyK1RDgdwHdfsEEhQbVclBBYApkqvZI4rodpQqHJt1UoUr_xBUvRJjBrRuvipiG6QaGNXjeMR9n6Z9wg6PCu_4fzR5FZ87BbOq6HnvoiLbu2PUnBKNYMOvBfHJ7bTpPs9fUIRQH8NR9az2R6Hov7sgNnDJniT4DPjt2lWuSD3nvWYHXR60Su6q3LwnLAyXlTKF2Kwl4Mze8slQSiOqX738BonY4QtwlHq-nedzyPo-0mM3p2FZtGQEIy6crETgdjqHmQBvri-PzvDu8AyXxnD1kZw', 'token_type': 'Bearer', 'expires_in': 86400}
  793. 2024-09-17 16:06:22.714 DEBUG (SyncWorker_4) [hyundai_kia_connect_api.KiaUvoApiAU] hyundai_kia_connect_api - Get Vehicles Response: {'retCode': 'S', 'resCode': '0000', 'resMsg': {'vehicles': [{'vin': 'KMHR781ASRU715759', 'vehicleId': 'e998e7f5-8a79-43a1-9aab-a642c66e0426', 'vehicleName': 'PALISADE 19/22', 'type': 'GN', 'tmuNum': '-', 'nickname': 'PALISADE', 'year': '2024', 'master': False, 'carShare': -1, 'regDate': '2024-01-18 20:00:15.569', 'detailInfo': {'inColor': 'NKE', 'outColor': 'WC9', 'bodyType': '3', 'saleCarmdlCd': 'S8', 'prodCarmdlCd': 'S8', 'saleCarmdlEnNm': 'PALISADE'}, 'protocolType': 0, 'ccuCCS2ProtocolSupport': 0}]}, 'msgId': '59fd763d-958d-4d3b-be0c-c754a54635ba'}
  794. 2024-09-17 16:06:23.318 DEBUG (SyncWorker_2) [hyundai_kia_connect_api.KiaUvoApiAU] hyundai_kia_connect_api - get_cached_vehicle_status response: {'retCode': 'S', 'resCode': '0000', 'resMsg': {'airCtrlOn': False, 'engine': False, 'doorLock': True, 'doorOpen': {'frontLeft': 0, 'frontRight': 0, 'backLeft': 0, 'backRight': 0}, 'trunkOpen': False, 'airTemp': {'value': '00H', 'unit': 0, 'hvacTempType': 1}, 'defrost': False, 'lowFuelLight': False, 'acc': False, 'ign3': False, 'hoodOpen': False, 'transCond': True, 'steerWheelHeat': 0, 'sideBackWindowHeat': 0, 'dte': {'value': 146, 'unit': 1}, 'tirePressureLamp': {'tirePressureLampAll': 0, 'tirePressureLampFL': 0, 'tirePressureLampFR': 0, 'tirePressureLampRL': 0, 'tirePressureLampRR': 0}, 'seatHeaterVentState': {'drvSeatHeatState': 2, 'astSeatHeatState': 2, 'rlSeatHeatState': 2, 'rrSeatHeatState': 2}, 'battery': {'batSoc': 81, 'batState': 0, 'sjbDeliveryMode': 0, 'batSignalReferenceValue': {'batWarning': 0}, 'powerAutoCutMode': 2}, 'sunroofOpen': False, 'lampWireStatus': {'stopLamp': {'stopLampStatus': False, 'leftLamp': False, 'rightLamp': False}, 'headLamp': {'headLampStatus': False, 'leftLowLamp': False, 'rightLowLamp': False, 'leftHighLamp': False, 'rightHighLamp': False, 'leftBifuncLamp': False, 'rightBifuncLamp': False}, 'turnSignalLamp': {'turnSignalLampStatus': False, 'leftFrontLamp': False, 'rightFrontLamp': False, 'leftRearLamp': False, 'rightRearLamp': False}}, 'windowOpen': {'frontLeft': 0, 'frontRight': 0, 'backLeft': 0, 'backRight': 0}, 'smartKeyBatteryWarning': False, 'fuelLevel': 17, 'washerFluidStatus': False, 'breakOilStatus': False, 'engineOilStatus': False, 'sleepModeCheck': True, 'vehicleMovementHis': False, 'vehicleSlope': False, 'neutralPosition': False, 'parkingBrakeHighNotch': False, 'time': '20240917081218', 'remoteWaitingTimeAlert': {'remoteControlAvailable': 1, 'remoteControlWaitingTime': 168, 'elapsedTime': '00:10:20'}, 'systemCutOffAlert': 0, 'tailLampStatus': 0, 'hazardStatus': 0, 'deicer': False}, 'msgId': 'fca476c5-173a-440e-8259-6e36e012af3d'}
  795. 2024-09-17 16:06:23.678 WARNING (MainThread) [homeassistant.components.ps4.media_player] PS4 could not be reached
  796. 2024-09-17 16:06:23.912 DEBUG (SyncWorker_2) [hyundai_kia_connect_api.KiaUvoApiAU] hyundai_kia_connect_api - _get_location response: {'retCode': 'S', 'resCode': '0000', 'resMsg': {'coord': {'lat': -34.407692, 'lon': 150.878375, 'alt': 0, 'type': 0}, 'time': '20240917081211'}, 'msgId': '26e52633-ca3f-4b2b-9aaf-7a5cf1cb8475'}
  797. 2024-09-17 16:06:23.912 DEBUG (SyncWorker_2) [hyundai_kia_connect_api.KiaUvoApiAU] hyundai_kia_connect_api - _get_location failed
  798. 2024-09-17 16:06:23.913 DEBUG (SyncWorker_2) [hyundai_kia_connect_api.KiaUvoApiAU] hyundai_kia_connect_api - SOC Levels couldn't be found. May not be an EV.
  799. 2024-09-17 16:06:23.923 ERROR (MainThread) [custom_components.kia_uvo.coordinator] Force update failed, falling back to cached: Traceback (most recent call last):
  800. File "/config/custom_components/kia_uvo/coordinator.py", line 126, in _async_update_data
  801. await self.hass.async_add_executor_job(
  802. File "/usr/local/lib/python3.12/concurrent/futures/thread.py", line 58, in run
  803. result = self.fn(*self.args, **self.kwargs)
  804. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  805. File "/usr/local/lib/python3.12/site-packages/hyundai_kia_connect_api/VehicleManager.py", line 115, in check_and_force_update_vehicles
  806. self.update_vehicle_with_cached_state(vehicle_id)
  807. File "/usr/local/lib/python3.12/site-packages/hyundai_kia_connect_api/VehicleManager.py", line 90, in update_vehicle_with_cached_state
  808. self.api.update_vehicle_with_cached_state(self.token, vehicle)
  809. File "/usr/local/lib/python3.12/site-packages/hyundai_kia_connect_api/KiaUvoApiAU.py", line 259, in update_vehicle_with_cached_state
  810. self._update_vehicle_drive_info(vehicle, state)
  811. ^^^^^
  812. UnboundLocalError: cannot access local variable 'state' where it is not associated with a value
  813. Traceback (most recent call last):
  814. File "/config/custom_components/kia_uvo/coordinator.py", line 126, in _async_update_data
  815. await self.hass.async_add_executor_job(
  816. File "/usr/local/lib/python3.12/concurrent/futures/thread.py", line 58, in run
  817. result = self.fn(*self.args, **self.kwargs)
  818. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  819. File "/usr/local/lib/python3.12/site-packages/hyundai_kia_connect_api/VehicleManager.py", line 115, in check_and_force_update_vehicles
  820. self.update_vehicle_with_cached_state(vehicle_id)
  821. File "/usr/local/lib/python3.12/site-packages/hyundai_kia_connect_api/VehicleManager.py", line 90, in update_vehicle_with_cached_state
  822. self.api.update_vehicle_with_cached_state(self.token, vehicle)
  823. File "/usr/local/lib/python3.12/site-packages/hyundai_kia_connect_api/KiaUvoApiAU.py", line 259, in update_vehicle_with_cached_state
  824. self._update_vehicle_drive_info(vehicle, state)
  825. ^^^^^
  826. UnboundLocalError: cannot access local variable 'state' where it is not associated with a value
  827. 2024-09-17 16:06:24.548 DEBUG (SyncWorker_20) [hyundai_kia_connect_api.KiaUvoApiAU] hyundai_kia_connect_api - get_cached_vehicle_status response: {'retCode': 'S', 'resCode': '0000', 'resMsg': {'airCtrlOn': False, 'engine': False, 'doorLock': True, 'doorOpen': {'frontLeft': 0, 'frontRight': 0, 'backLeft': 0, 'backRight': 0}, 'trunkOpen': False, 'airTemp': {'value': '00H', 'unit': 0, 'hvacTempType': 1}, 'defrost': False, 'lowFuelLight': False, 'acc': False, 'ign3': False, 'hoodOpen': False, 'transCond': True, 'steerWheelHeat': 0, 'sideBackWindowHeat': 0, 'dte': {'value': 146, 'unit': 1}, 'tirePressureLamp': {'tirePressureLampAll': 0, 'tirePressureLampFL': 0, 'tirePressureLampFR': 0, 'tirePressureLampRL': 0, 'tirePressureLampRR': 0}, 'seatHeaterVentState': {'drvSeatHeatState': 2, 'astSeatHeatState': 2, 'rlSeatHeatState': 2, 'rrSeatHeatState': 2}, 'battery': {'batSoc': 81, 'batState': 0, 'sjbDeliveryMode': 0, 'batSignalReferenceValue': {'batWarning': 0}, 'powerAutoCutMode': 2}, 'sunroofOpen': False, 'lampWireStatus': {'stopLamp': {'stopLampStatus': False, 'leftLamp': False, 'rightLamp': False}, 'headLamp': {'headLampStatus': False, 'leftLowLamp': False, 'rightLowLamp': False, 'leftHighLamp': False, 'rightHighLamp': False, 'leftBifuncLamp': False, 'rightBifuncLamp': False}, 'turnSignalLamp': {'turnSignalLampStatus': False, 'leftFrontLamp': False, 'rightFrontLamp': False, 'leftRearLamp': False, 'rightRearLamp': False}}, 'windowOpen': {'frontLeft': 0, 'frontRight': 0, 'backLeft': 0, 'backRight': 0}, 'smartKeyBatteryWarning': False, 'fuelLevel': 17, 'washerFluidStatus': False, 'breakOilStatus': False, 'engineOilStatus': False, 'sleepModeCheck': True, 'vehicleMovementHis': False, 'vehicleSlope': False, 'neutralPosition': False, 'parkingBrakeHighNotch': False, 'time': '20240917081218', 'remoteWaitingTimeAlert': {'remoteControlAvailable': 1, 'remoteControlWaitingTime': 168, 'elapsedTime': '00:10:20'}, 'systemCutOffAlert': 0, 'tailLampStatus': 0, 'hazardStatus': 0, 'deicer': False}, 'msgId': 'f03287a0-b9df-4793-b8dd-21b17921dbb5'}
  828. 2024-09-17 16:06:25.139 DEBUG (SyncWorker_20) [hyundai_kia_connect_api.KiaUvoApiAU] hyundai_kia_connect_api - _get_location response: {'retCode': 'S', 'resCode': '0000', 'resMsg': {'coord': {'lat': -34.407692, 'lon': 150.878375, 'alt': 0, 'type': 0}, 'time': '20240917081211'}, 'msgId': 'ea327f98-eaa1-4b71-8f4d-b5af8e44a751'}
  829. 2024-09-17 16:06:25.139 DEBUG (SyncWorker_20) [hyundai_kia_connect_api.KiaUvoApiAU] hyundai_kia_connect_api - _get_location failed
  830. 2024-09-17 16:06:25.140 DEBUG (SyncWorker_20) [hyundai_kia_connect_api.KiaUvoApiAU] hyundai_kia_connect_api - SOC Levels couldn't be found. May not be an EV.
  831. 2024-09-17 16:06:25.149 ERROR (MainThread) [custom_components.kia_uvo.coordinator] Cached update failed: Traceback (most recent call last):
  832. File "/config/custom_components/kia_uvo/coordinator.py", line 126, in _async_update_data
  833. await self.hass.async_add_executor_job(
  834. File "/usr/local/lib/python3.12/concurrent/futures/thread.py", line 58, in run
  835. result = self.fn(*self.args, **self.kwargs)
  836. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  837. File "/usr/local/lib/python3.12/site-packages/hyundai_kia_connect_api/VehicleManager.py", line 115, in check_and_force_update_vehicles
  838. self.update_vehicle_with_cached_state(vehicle_id)
  839. File "/usr/local/lib/python3.12/site-packages/hyundai_kia_connect_api/VehicleManager.py", line 90, in update_vehicle_with_cached_state
  840. self.api.update_vehicle_with_cached_state(self.token, vehicle)
  841. File "/usr/local/lib/python3.12/site-packages/hyundai_kia_connect_api/KiaUvoApiAU.py", line 259, in update_vehicle_with_cached_state
  842. self._update_vehicle_drive_info(vehicle, state)
  843. ^^^^^
  844. UnboundLocalError: cannot access local variable 'state' where it is not associated with a value
  845.  
  846. During handling of the above exception, another exception occurred:
  847.  
  848. Traceback (most recent call last):
  849. File "/config/custom_components/kia_uvo/coordinator.py", line 135, in _async_update_data
  850. await self.hass.async_add_executor_job(
  851. File "/usr/local/lib/python3.12/concurrent/futures/thread.py", line 58, in run
  852. result = self.fn(*self.args, **self.kwargs)
  853. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  854. File "/usr/local/lib/python3.12/site-packages/hyundai_kia_connect_api/VehicleManager.py", line 85, in update_all_vehicles_with_cached_state
  855. self.update_vehicle_with_cached_state(vehicle_id)
  856. File "/usr/local/lib/python3.12/site-packages/hyundai_kia_connect_api/VehicleManager.py", line 90, in update_vehicle_with_cached_state
  857. self.api.update_vehicle_with_cached_state(self.token, vehicle)
  858. File "/usr/local/lib/python3.12/site-packages/hyundai_kia_connect_api/KiaUvoApiAU.py", line 259, in update_vehicle_with_cached_state
  859. self._update_vehicle_drive_info(vehicle, state)
  860. ^^^^^
  861. UnboundLocalError: cannot access local variable 'state' where it is not associated with a value
  862. Traceback (most recent call last):
  863. File "/config/custom_components/kia_uvo/coordinator.py", line 126, in _async_update_data
  864. await self.hass.async_add_executor_job(
  865. File "/usr/local/lib/python3.12/concurrent/futures/thread.py", line 58, in run
  866. result = self.fn(*self.args, **self.kwargs)
  867. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  868. File "/usr/local/lib/python3.12/site-packages/hyundai_kia_connect_api/VehicleManager.py", line 115, in check_and_force_update_vehicles
  869. self.update_vehicle_with_cached_state(vehicle_id)
  870. File "/usr/local/lib/python3.12/site-packages/hyundai_kia_connect_api/VehicleManager.py", line 90, in update_vehicle_with_cached_state
  871. self.api.update_vehicle_with_cached_state(self.token, vehicle)
  872. File "/usr/local/lib/python3.12/site-packages/hyundai_kia_connect_api/KiaUvoApiAU.py", line 259, in update_vehicle_with_cached_state
  873. self._update_vehicle_drive_info(vehicle, state)
  874. ^^^^^
  875. UnboundLocalError: cannot access local variable 'state' where it is not associated with a value
  876.  
  877. During handling of the above exception, another exception occurred:
  878.  
  879. Traceback (most recent call last):
  880. File "/config/custom_components/kia_uvo/coordinator.py", line 135, in _async_update_data
  881. await self.hass.async_add_executor_job(
  882. File "/usr/local/lib/python3.12/concurrent/futures/thread.py", line 58, in run
  883. result = self.fn(*self.args, **self.kwargs)
  884. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  885. File "/usr/local/lib/python3.12/site-packages/hyundai_kia_connect_api/VehicleManager.py", line 85, in update_all_vehicles_with_cached_state
  886. self.update_vehicle_with_cached_state(vehicle_id)
  887. File "/usr/local/lib/python3.12/site-packages/hyundai_kia_connect_api/VehicleManager.py", line 90, in update_vehicle_with_cached_state
  888. self.api.update_vehicle_with_cached_state(self.token, vehicle)
  889. File "/usr/local/lib/python3.12/site-packages/hyundai_kia_connect_api/KiaUvoApiAU.py", line 259, in update_vehicle_with_cached_state
  890. self._update_vehicle_drive_info(vehicle, state)
  891. ^^^^^
  892. UnboundLocalError: cannot access local variable 'state' where it is not associated with a value
  893. 2024-09-17 16:06:25.155 DEBUG (MainThread) [custom_components.kia_uvo.coordinator] Finished fetching kia_uvo data in 6.159 seconds (success: False)
  894. 2024-09-17 16:06:37.807 WARNING (Recorder) [homeassistant.components.recorder.db_schema] State attributes for sensor.watchman_missing_entities exceed maximum size of 16384 bytes. This can cause database performance issues; Attributes will not be stored
  895. 2024-09-17 16:06:37.825 WARNING (Recorder) [homeassistant.components.recorder.db_schema] State attributes for sensor.watchman_missing_entities exceed maximum size of 16384 bytes. This can cause database performance issues; Attributes will not be stored
  896. 2024-09-17 16:06:37.835 WARNING (Recorder) [homeassistant.components.recorder.db_schema] State attributes for sensor.watchman_missing_entities exceed maximum size of 16384 bytes. This can cause database performance issues; Attributes will not be stored
  897. 2024-09-17 16:06:37.838 WARNING (Recorder) [homeassistant.components.recorder.db_schema] State attributes for sensor.watchman_missing_entities exceed maximum size of 16384 bytes. This can cause database performance issues; Attributes will not be stored
  898. 2024-09-17 16:06:37.841 WARNING (Recorder) [homeassistant.components.recorder.db_schema] State attributes for sensor.watchman_missing_entities exceed maximum size of 16384 bytes. This can cause database performance issues; Attributes will not be stored
  899. 2024-09-17 16:06:37.852 WARNING (Recorder) [homeassistant.components.recorder.db_schema] State attributes for sensor.watchman_missing_entities exceed maximum size of 16384 bytes. This can cause database performance issues; Attributes will not be stored
  900. 2024-09-17 16:06:37.878 WARNING (Recorder) [homeassistant.components.recorder.db_schema] State attributes for sensor.watchman_missing_entities exceed maximum size of 16384 bytes. This can cause database performance issues; Attributes will not be stored
  901. 2024-09-17 16:06:37.895 WARNING (Recorder) [homeassistant.components.recorder.db_schema] State attributes for sensor.watchman_missing_entities exceed maximum size of 16384 bytes. This can cause database performance issues; Attributes will not be stored
  902. 2024-09-17 16:06:37.931 WARNING (Recorder) [homeassistant.components.recorder.db_schema] State attributes for sensor.watchman_missing_entities exceed maximum size of 16384 bytes. This can cause database performance issues; Attributes will not be stored
  903. 2024-09-17 16:06:37.934 WARNING (Recorder) [homeassistant.components.recorder.db_schema] State attributes for sensor.watchman_missing_entities exceed maximum size of 16384 bytes. This can cause database performance issues; Attributes will not be stored
  904. 2024-09-17 16:06:37.941 WARNING (Recorder) [homeassistant.components.recorder.db_schema] State attributes for sensor.watchman_missing_entities exceed maximum size of 16384 bytes. This can cause database performance issues; Attributes will not be stored
  905. 2024-09-17 16:06:37.959 WARNING (Recorder) [homeassistant.components.recorder.db_schema] State attributes for sensor.watchman_missing_entities exceed maximum size of 16384 bytes. This can cause database performance issues; Attributes will not be stored
  906. 2024-09-17 16:06:37.963 WARNING (Recorder) [homeassistant.components.recorder.db_schema] State attributes for sensor.watchman_missing_entities exceed maximum size of 16384 bytes. This can cause database performance issues; Attributes will not be stored
  907. 2024-09-17 16:06:37.967 WARNING (Recorder) [homeassistant.components.recorder.db_schema] State attributes for sensor.watchman_missing_entities exceed maximum size of 16384 bytes. This can cause database performance issues; Attributes will not be stored
  908. 2024-09-17 16:06:37.970 WARNING (Recorder) [homeassistant.components.recorder.db_schema] State attributes for sensor.watchman_missing_entities exceed maximum size of 16384 bytes. This can cause database performance issues; Attributes will not be stored
  909. 2024-09-17 16:06:37.973 WARNING (Recorder) [homeassistant.components.recorder.db_schema] State attributes for sensor.watchman_missing_entities exceed maximum size of 16384 bytes. This can cause database performance issues; Attributes will not be stored
  910. 2024-09-17 16:06:37.978 WARNING (Recorder) [homeassistant.components.recorder.db_schema] State attributes for sensor.watchman_missing_entities exceed maximum size of 16384 bytes. This can cause database performance issues; Attributes will not be stored
  911. 2024-09-17 16:06:37.982 WARNING (Recorder) [homeassistant.components.recorder.db_schema] State attributes for sensor.watchman_missing_entities exceed maximum size of 16384 bytes. This can cause database performance issues; Attributes will not be stored
  912. 2024-09-17 16:06:37.986 WARNING (Recorder) [homeassistant.components.recorder.db_schema] State attributes for sensor.watchman_missing_entities exceed maximum size of 16384 bytes. This can cause database performance issues; Attributes will not be stored
  913. 2024-09-17 16:06:37.989 WARNING (Recorder) [homeassistant.components.recorder.db_schema] State attributes for sensor.watchman_missing_entities exceed maximum size of 16384 bytes. This can cause database performance issues; Attributes will not be stored
  914. 2024-09-17 16:06:37.993 WARNING (Recorder) [homeassistant.components.recorder.db_schema] State attributes for sensor.watchman_missing_entities exceed maximum size of 16384 bytes. This can cause database performance issues; Attributes will not be stored
  915. 2024-09-17 16:06:44.186 WARNING (Recorder) [homeassistant.components.recorder.db_schema] State attributes for sensor.watchman_missing_entities exceed maximum size of 16384 bytes. This can cause database performance issues; Attributes will not be stored
  916. 2024-09-17 16:06:44.193 WARNING (Recorder) [homeassistant.components.recorder.db_schema] State attributes for sensor.watchman_missing_entities exceed maximum size of 16384 bytes. This can cause database performance issues; Attributes will not be stored
  917. 2024-09-17 16:06:44.193 WARNING (Recorder) [homeassistant.components.recorder.db_schema] State attributes for sensor.watchman_missing_entities exceed maximum size of 16384 bytes. This can cause database performance issues; Attributes will not be stored
  918. 2024-09-17 16:06:44.200 WARNING (Recorder) [homeassistant.components.recorder.db_schema] State attributes for sensor.watchman_missing_entities exceed maximum size of 16384 bytes. This can cause database performance issues; Attributes will not be stored
  919. 2024-09-17 16:06:44.200 WARNING (Recorder) [homeassistant.components.recorder.db_schema] State attributes for sensor.watchman_missing_entities exceed maximum size of 16384 bytes. This can cause database performance issues; Attributes will not be stored
  920. 2024-09-17 16:06:44.206 WARNING (Recorder) [homeassistant.components.recorder.db_schema] State attributes for sensor.watchman_missing_entities exceed maximum size of 16384 bytes. This can cause database performance issues; Attributes will not be stored
  921. 2024-09-17 16:06:44.207 WARNING (Recorder) [homeassistant.components.recorder.db_schema] State attributes for sensor.watchman_missing_entities exceed maximum size of 16384 bytes. This can cause database performance issues; Attributes will not be stored
  922. 2024-09-17 16:06:44.214 WARNING (Recorder) [homeassistant.components.recorder.db_schema] State attributes for sensor.watchman_missing_entities exceed maximum size of 16384 bytes. This can cause database performance issues; Attributes will not be stored
  923. 2024-09-17 16:06:44.221 WARNING (Recorder) [homeassistant.components.recorder.db_schema] State attributes for sensor.watchman_missing_entities exceed maximum size of 16384 bytes. This can cause database performance issues; Attributes will not be stored
  924. 2024-09-17 16:06:44.228 WARNING (Recorder) [homeassistant.components.recorder.db_schema] State attributes for sensor.watchman_missing_entities exceed maximum size of 16384 bytes. This can cause database performance issues; Attributes will not be stored
  925. 2024-09-17 16:06:44.228 WARNING (Recorder) [homeassistant.components.recorder.db_schema] State attributes for sensor.watchman_missing_entities exceed maximum size of 16384 bytes. This can cause database performance issues; Attributes will not be stored
  926. 2024-09-17 16:06:44.234 WARNING (Recorder) [homeassistant.components.recorder.db_schema] State attributes for sensor.watchman_missing_entities exceed maximum size of 16384 bytes. This can cause database performance issues; Attributes will not be stored
  927. 2024-09-17 16:06:44.234 WARNING (Recorder) [homeassistant.components.recorder.db_schema] State attributes for sensor.watchman_missing_entities exceed maximum size of 16384 bytes. This can cause database performance issues; Attributes will not be stored
  928. 2024-09-17 16:06:44.241 WARNING (Recorder) [homeassistant.components.recorder.db_schema] State attributes for sensor.watchman_missing_entities exceed maximum size of 16384 bytes. This can cause database performance issues; Attributes will not be stored
  929. 2024-09-17 16:06:44.241 WARNING (Recorder) [homeassistant.components.recorder.db_schema] State attributes for sensor.watchman_missing_entities exceed maximum size of 16384 bytes. This can cause database performance issues; Attributes will not be stored
  930. 2024-09-17 16:06:44.247 WARNING (Recorder) [homeassistant.components.recorder.db_schema] State attributes for sensor.watchman_missing_entities exceed maximum size of 16384 bytes. This can cause database performance issues; Attributes will not be stored
  931. 2024-09-17 16:06:44.248 WARNING (Recorder) [homeassistant.components.recorder.db_schema] State attributes for sensor.watchman_missing_entities exceed maximum size of 16384 bytes. This can cause database performance issues; Attributes will not be stored
  932. 2024-09-17 16:06:44.254 WARNING (Recorder) [homeassistant.components.recorder.db_schema] State attributes for sensor.watchman_missing_entities exceed maximum size of 16384 bytes. This can cause database performance issues; Attributes will not be stored
  933. 2024-09-17 16:06:44.260 WARNING (Recorder) [homeassistant.components.recorder.db_schema] State attributes for sensor.watchman_missing_entities exceed maximum size of 16384 bytes. This can cause database performance issues; Attributes will not be stored
  934. 2024-09-17 16:06:44.266 WARNING (Recorder) [homeassistant.components.recorder.db_schema] State attributes for sensor.watchman_missing_entities exceed maximum size of 16384 bytes. This can cause database performance issues; Attributes will not be stored
  935. 2024-09-17 16:06:44.280 WARNING (Recorder) [homeassistant.components.recorder.db_schema] State attributes for sensor.watchman_missing_entities exceed maximum size of 16384 bytes. This can cause database performance issues; Attributes will not be stored
  936. 2024-09-17 16:06:44.283 WARNING (Recorder) [homeassistant.components.recorder.db_schema] State attributes for sensor.watchman_missing_entities exceed maximum size of 16384 bytes. This can cause database performance issues; Attributes will not be stored
  937. 2024-09-17 16:06:44.287 WARNING (Recorder) [homeassistant.components.recorder.db_schema] State attributes for sensor.watchman_missing_entities exceed maximum size of 16384 bytes. This can cause database performance issues; Attributes will not be stored
  938. 2024-09-17 16:06:44.288 WARNING (Recorder) [homeassistant.components.recorder.db_schema] State attributes for sensor.watchman_missing_entities exceed maximum size of 16384 bytes. This can cause database performance issues; Attributes will not be stored
  939. 2024-09-17 16:06:45.459 DEBUG (SyncWorker_25) [hyundai_kia_connect_api.KiaUvoApiAU] hyundai_kia_connect_api - Get Device ID request: {'ccsp-service-id': '855c72df-dfd7-4230-ab03-67cbf902bb1c', 'ccsp-application-id': 'f9ccfdac-a48d-4c57-bd32-9116963c24ed', 'Stamp': 'MZR18y/WJGWtH4R9s4CDnIE8xgFHHmTvJOMcLQ0DsPfNsizuovRkWvfa1PG0/jU=', 'Content-Type': 'application/json;charset=UTF-8', 'Host': 'au-apigw.ccs.hyundai.com.au:8080', 'Connection': 'Keep-Alive', 'Accept-Encoding': 'gzip', 'User-Agent': 'okhttp/3.12.0'} {'pushRegId': '207144e0c6fa3a37af125a4c3d318ec5f2f86eb9f48fd53ca9606f76e875e981', 'pushType': 'GCM', 'uuid': '3fe309bc-8662-4dde-a0e4-67a5b48ce403'}
  940. 2024-09-17 16:06:46.061 DEBUG (SyncWorker_25) [hyundai_kia_connect_api.KiaUvoApiAU] hyundai_kia_connect_api - Get Device ID response: {'retCode': 'S', 'resCode': '0000', 'resMsg': {'deviceId': '5f51c7a2-ee95-47ca-81bd-1674ad4e8c9f'}, 'msgId': 'c5e06c1f-c166-4b21-b990-38c26ee14bbc'}
  941. 2024-09-17 16:06:46.062 DEBUG (SyncWorker_25) [hyundai_kia_connect_api.KiaUvoApiAU] hyundai_kia_connect_api - Get cookies request: https://au-apigw.ccs.hyundai.com.au:8080/api/v1/user/oauth2/authorize?response_type=code&client_id=855c72df-dfd7-4230-ab03-67cbf902bb1c&redirect_uri=https://au-apigw.ccs.hyundai.com.au:8080/api/v1/user/oauth2/redirect&lang=en
  942. 2024-09-17 16:06:46.771 DEBUG (SyncWorker_25) [hyundai_kia_connect_api.KiaUvoApiAU] hyundai_kia_connect_api - Get cookies response: {'account': 'MzVlZmUwYTYtZmM5Ni00OTk3LWJkMTEtOTQ3M2Q5ZmZhMWZj.a48e91ae15c6b36730feeb3abcf182cd5628b18d'}
  943. 2024-09-17 16:06:47.398 DEBUG (SyncWorker_25) [hyundai_kia_connect_api.KiaUvoApiAU] hyundai_kia_connect_api - Sign In Response: {'redirectUrl': 'https://au-apigw.ccs.hyundai.com.au:8080/api/v1/user/oauth2/redirect?code=TYALA_B7NC68P5GIDBK_BQ', 'popup': False, 'method': '', 'upgrade': False, 'integrated': False, 'deleteAccountLink': ''}
  944. 2024-09-17 16:06:47.398 DEBUG (SyncWorker_25) [hyundai_kia_connect_api.KiaUvoApiAU] hyundai_kia_connect_api - Get Access Token Data: {'Authorization': 'Basic ODU1YzcyZGYtZGZkNy00MjMwLWFiMDMtNjdjYmY5MDJiYjFjOmU2ZmJ3SE0zMllOYmhRbDBwdmlhUHAzcmY0dDNTNms5MWVjZUEzTUpMZGJkVGhDTw==', 'Stamp': 'MZR18y/WJGWtH4R9s4CDnIE8xgFHHmTvJOMcLQ0DsPfNsizuovRkWvfa1PG0/jU=', 'Content-type': 'application/x-www-form-urlencoded', 'Host': 'au-apigw.ccs.hyundai.com.au:8080', 'Connection': 'close', 'Accept-Encoding': 'gzip, deflate', 'User-Agent': 'okhttp/3.12.0'}grant_type=authorization_code&redirect_uri=https%3A%2F%2Fau-apigw.ccs.hyundai.com.au:8080%2Fapi%2Fv1%2Fuser%2Foauth2%2Fredirect&code=TYALA_B7NC68P5GIDBK_BQ
  945. 2024-09-17 16:06:47.972 DEBUG (SyncWorker_25) [hyundai_kia_connect_api.KiaUvoApiAU] hyundai_kia_connect_api - Get Access Token Response: {'access_token': 'eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJwaWQiOiI1YjdjYzgzZTI0OTA5MjI1MDQyNmFhMjciLCJ1aWQiOiJkNjIwNzk0YS1kZTVkLTRjODYtYWFlMy1lOTE4ZGJiNjRiMTUiLCJzaWQiOiI4NTVjNzJkZi1kZmQ3LTQyMzAtYWIwMy02N2NiZjkwMmJiMWMiLCJleHAiOjE3MjY2Mzk2MDcsImlhdCI6MTcyNjU1MzIwNywiaXNzIjoiYmx1ZWxpbmsifQ.ConmQOGfbPQkZX1EK3E2s9MkrguoUBApvf2okbOJUSOz6_lUj7swzFr9GZpDS-0h6QHIZjAjcJi9TmwnOvWh1rrI6d9XV9D6x5DuHgi4zUuGH1N24s8YYjyVNQGUCA90ww-NupHIz0pFvxVeJ-OQNNCC1ZqKkD9NMW0QRSfP1ZiU_fRn6NeM7HAxy8kmUWnKPW72k_ZqEIPWNgVtgbTUELTkxpgZTCobUm8N4mPcqTwm9Bkaw2bkl1edm1fAvSQyU4xa1nIT1H47H_XhcqbBBOQ7OPT-Qq20E3mypCrcuMg3f1QqkrdSlpfOWZQq8g-IXbI9R9ps3-K8QQgKZRBuqw', 'token_type': 'Bearer', 'refresh_token': 'SGHYBIH3XYOQKEWXWOYLAW', 'expires_in': 86400}
  946. 2024-09-17 16:06:47.972 DEBUG (SyncWorker_25) [hyundai_kia_connect_api.KiaUvoApiAU] hyundai_kia_connect_api - Access Token Value Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJwaWQiOiI1YjdjYzgzZTI0OTA5MjI1MDQyNmFhMjciLCJ1aWQiOiJkNjIwNzk0YS1kZTVkLTRjODYtYWFlMy1lOTE4ZGJiNjRiMTUiLCJzaWQiOiI4NTVjNzJkZi1kZmQ3LTQyMzAtYWIwMy02N2NiZjkwMmJiMWMiLCJleHAiOjE3MjY2Mzk2MDcsImlhdCI6MTcyNjU1MzIwNywiaXNzIjoiYmx1ZWxpbmsifQ.ConmQOGfbPQkZX1EK3E2s9MkrguoUBApvf2okbOJUSOz6_lUj7swzFr9GZpDS-0h6QHIZjAjcJi9TmwnOvWh1rrI6d9XV9D6x5DuHgi4zUuGH1N24s8YYjyVNQGUCA90ww-NupHIz0pFvxVeJ-OQNNCC1ZqKkD9NMW0QRSfP1ZiU_fRn6NeM7HAxy8kmUWnKPW72k_ZqEIPWNgVtgbTUELTkxpgZTCobUm8N4mPcqTwm9Bkaw2bkl1edm1fAvSQyU4xa1nIT1H47H_XhcqbBBOQ7OPT-Qq20E3mypCrcuMg3f1QqkrdSlpfOWZQq8g-IXbI9R9ps3-K8QQgKZRBuqw
  947. 2024-09-17 16:06:47.973 DEBUG (SyncWorker_25) [hyundai_kia_connect_api.KiaUvoApiAU] hyundai_kia_connect_api - Get Refresh Token Data: grant_type=refresh_token&refresh_token=SGHYBIH3XYOQKEWXWOYLAW
  948. 2024-09-17 16:06:48.558 DEBUG (SyncWorker_25) [hyundai_kia_connect_api.KiaUvoApiAU] hyundai_kia_connect_api - Get Refresh Token Response: {'access_token': 'eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJwaWQiOiI1YjdjYzgzZTI0OTA5MjI1MDQyNmFhMjciLCJ1aWQiOiJkNjIwNzk0YS1kZTVkLTRjODYtYWFlMy1lOTE4ZGJiNjRiMTUiLCJzaWQiOiI4NTVjNzJkZi1kZmQ3LTQyMzAtYWIwMy02N2NiZjkwMmJiMWMiLCJleHAiOjE3MjY2Mzk2MDgsImlhdCI6MTcyNjU1MzIwOCwiaXNzIjoiYmx1ZWxpbmsifQ.WcA4qXZ_EVgCdX_6bkp8SRp_rDRuJ_OlMvn2YbE6hf5KjhTlqcYB4sP2nsk9cHrirW-YB58aW_sMLWmE0duSxhP_soOue3M39zPGHe8nrV5J_acqxj1xrYa6HiF2KptbRohzvADNHgP6S85AVBkw6RF7Jr8Z9Jc0WElJ9dZBXVJ5-yAsMF490a8iN5Q0au9ZSY6trzDISaHUdVCEX820LYb4f-71zKrzDVxCyfmOZ56CijumQm9TckRXPzSAPcWZYxk9nykE_jWoH0ea50PNN3aSxtfir856YI0VV0cTZJoyXj-PUsq4ska1l9VBl2aIUiBcYrvLh7AUxQ7H9lyt9w', 'token_type': 'Bearer', 'expires_in': 86400}
  949. 2024-09-17 16:06:49.168 DEBUG (SyncWorker_25) [hyundai_kia_connect_api.KiaUvoApiAU] hyundai_kia_connect_api - Get Vehicles Response: {'retCode': 'S', 'resCode': '0000', 'resMsg': {'vehicles': [{'vin': 'KMHR781ASRU715759', 'vehicleId': 'e998e7f5-8a79-43a1-9aab-a642c66e0426', 'vehicleName': 'PALISADE 19/22', 'type': 'GN', 'tmuNum': '-', 'nickname': 'PALISADE', 'year': '2024', 'master': False, 'carShare': -1, 'regDate': '2024-01-18 20:00:15.569', 'detailInfo': {'inColor': 'NKE', 'outColor': 'WC9', 'bodyType': '3', 'saleCarmdlCd': 'S8', 'prodCarmdlCd': 'S8', 'saleCarmdlEnNm': 'PALISADE'}, 'protocolType': 0, 'ccuCCS2ProtocolSupport': 0}]}, 'msgId': '45097e7a-e1fa-4680-87d1-4575fbac9488'}
  950. 2024-09-17 16:06:49.763 DEBUG (SyncWorker_7) [hyundai_kia_connect_api.KiaUvoApiAU] hyundai_kia_connect_api - get_cached_vehicle_status response: {'retCode': 'S', 'resCode': '0000', 'resMsg': {'airCtrlOn': False, 'engine': False, 'doorLock': True, 'doorOpen': {'frontLeft': 0, 'frontRight': 0, 'backLeft': 0, 'backRight': 0}, 'trunkOpen': False, 'airTemp': {'value': '00H', 'unit': 0, 'hvacTempType': 1}, 'defrost': False, 'lowFuelLight': False, 'acc': False, 'ign3': False, 'hoodOpen': False, 'transCond': True, 'steerWheelHeat': 0, 'sideBackWindowHeat': 0, 'dte': {'value': 146, 'unit': 1}, 'tirePressureLamp': {'tirePressureLampAll': 0, 'tirePressureLampFL': 0, 'tirePressureLampFR': 0, 'tirePressureLampRL': 0, 'tirePressureLampRR': 0}, 'seatHeaterVentState': {'drvSeatHeatState': 2, 'astSeatHeatState': 2, 'rlSeatHeatState': 2, 'rrSeatHeatState': 2}, 'battery': {'batSoc': 81, 'batState': 0, 'sjbDeliveryMode': 0, 'batSignalReferenceValue': {'batWarning': 0}, 'powerAutoCutMode': 2}, 'sunroofOpen': False, 'lampWireStatus': {'stopLamp': {'stopLampStatus': False, 'leftLamp': False, 'rightLamp': False}, 'headLamp': {'headLampStatus': False, 'leftLowLamp': False, 'rightLowLamp': False, 'leftHighLamp': False, 'rightHighLamp': False, 'leftBifuncLamp': False, 'rightBifuncLamp': False}, 'turnSignalLamp': {'turnSignalLampStatus': False, 'leftFrontLamp': False, 'rightFrontLamp': False, 'leftRearLamp': False, 'rightRearLamp': False}}, 'windowOpen': {'frontLeft': 0, 'frontRight': 0, 'backLeft': 0, 'backRight': 0}, 'smartKeyBatteryWarning': False, 'fuelLevel': 17, 'washerFluidStatus': False, 'breakOilStatus': False, 'engineOilStatus': False, 'sleepModeCheck': True, 'vehicleMovementHis': False, 'vehicleSlope': False, 'neutralPosition': False, 'parkingBrakeHighNotch': False, 'time': '20240917081218', 'remoteWaitingTimeAlert': {'remoteControlAvailable': 1, 'remoteControlWaitingTime': 168, 'elapsedTime': '00:10:20'}, 'systemCutOffAlert': 0, 'tailLampStatus': 0, 'hazardStatus': 0, 'deicer': False}, 'msgId': 'ae7a1b41-198b-4325-b14f-5e4381fa4ea2'}
  951. 2024-09-17 16:06:50.348 DEBUG (SyncWorker_7) [hyundai_kia_connect_api.KiaUvoApiAU] hyundai_kia_connect_api - _get_location response: {'retCode': 'S', 'resCode': '0000', 'resMsg': {'coord': {'lat': -34.407692, 'lon': 150.878375, 'alt': 0, 'type': 0}, 'time': '20240917081211'}, 'msgId': 'ec81b77d-4335-4a45-bebf-6f18646d4b60'}
  952. 2024-09-17 16:06:50.348 DEBUG (SyncWorker_7) [hyundai_kia_connect_api.KiaUvoApiAU] hyundai_kia_connect_api - _get_location failed
  953. 2024-09-17 16:06:50.348 DEBUG (SyncWorker_7) [hyundai_kia_connect_api.KiaUvoApiAU] hyundai_kia_connect_api - SOC Levels couldn't be found. May not be an EV.
  954. 2024-09-17 16:06:50.349 ERROR (MainThread) [custom_components.kia_uvo.coordinator] Force update failed, falling back to cached: Traceback (most recent call last):
  955. File "/config/custom_components/kia_uvo/coordinator.py", line 126, in _async_update_data
  956. await self.hass.async_add_executor_job(
  957. File "/usr/local/lib/python3.12/concurrent/futures/thread.py", line 58, in run
  958. result = self.fn(*self.args, **self.kwargs)
  959. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  960. File "/usr/local/lib/python3.12/site-packages/hyundai_kia_connect_api/VehicleManager.py", line 115, in check_and_force_update_vehicles
  961. self.update_vehicle_with_cached_state(vehicle_id)
  962. File "/usr/local/lib/python3.12/site-packages/hyundai_kia_connect_api/VehicleManager.py", line 90, in update_vehicle_with_cached_state
  963. self.api.update_vehicle_with_cached_state(self.token, vehicle)
  964. File "/usr/local/lib/python3.12/site-packages/hyundai_kia_connect_api/KiaUvoApiAU.py", line 259, in update_vehicle_with_cached_state
  965. self._update_vehicle_drive_info(vehicle, state)
  966. ^^^^^
  967. UnboundLocalError: cannot access local variable 'state' where it is not associated with a value
  968. Traceback (most recent call last):
  969. File "/config/custom_components/kia_uvo/coordinator.py", line 126, in _async_update_data
  970. await self.hass.async_add_executor_job(
  971. File "/usr/local/lib/python3.12/concurrent/futures/thread.py", line 58, in run
  972. result = self.fn(*self.args, **self.kwargs)
  973. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  974. File "/usr/local/lib/python3.12/site-packages/hyundai_kia_connect_api/VehicleManager.py", line 115, in check_and_force_update_vehicles
  975. self.update_vehicle_with_cached_state(vehicle_id)
  976. File "/usr/local/lib/python3.12/site-packages/hyundai_kia_connect_api/VehicleManager.py", line 90, in update_vehicle_with_cached_state
  977. self.api.update_vehicle_with_cached_state(self.token, vehicle)
  978. File "/usr/local/lib/python3.12/site-packages/hyundai_kia_connect_api/KiaUvoApiAU.py", line 259, in update_vehicle_with_cached_state
  979. self._update_vehicle_drive_info(vehicle, state)
  980. ^^^^^
  981. UnboundLocalError: cannot access local variable 'state' where it is not associated with a value
  982. 2024-09-17 16:06:50.949 DEBUG (SyncWorker_24) [hyundai_kia_connect_api.KiaUvoApiAU] hyundai_kia_connect_api - get_cached_vehicle_status response: {'retCode': 'S', 'resCode': '0000', 'resMsg': {'airCtrlOn': False, 'engine': False, 'doorLock': True, 'doorOpen': {'frontLeft': 0, 'frontRight': 0, 'backLeft': 0, 'backRight': 0}, 'trunkOpen': False, 'airTemp': {'value': '00H', 'unit': 0, 'hvacTempType': 1}, 'defrost': False, 'lowFuelLight': False, 'acc': False, 'ign3': False, 'hoodOpen': False, 'transCond': True, 'steerWheelHeat': 0, 'sideBackWindowHeat': 0, 'dte': {'value': 146, 'unit': 1}, 'tirePressureLamp': {'tirePressureLampAll': 0, 'tirePressureLampFL': 0, 'tirePressureLampFR': 0, 'tirePressureLampRL': 0, 'tirePressureLampRR': 0}, 'seatHeaterVentState': {'drvSeatHeatState': 2, 'astSeatHeatState': 2, 'rlSeatHeatState': 2, 'rrSeatHeatState': 2}, 'battery': {'batSoc': 81, 'batState': 0, 'sjbDeliveryMode': 0, 'batSignalReferenceValue': {'batWarning': 0}, 'powerAutoCutMode': 2}, 'sunroofOpen': False, 'lampWireStatus': {'stopLamp': {'stopLampStatus': False, 'leftLamp': False, 'rightLamp': False}, 'headLamp': {'headLampStatus': False, 'leftLowLamp': False, 'rightLowLamp': False, 'leftHighLamp': False, 'rightHighLamp': False, 'leftBifuncLamp': False, 'rightBifuncLamp': False}, 'turnSignalLamp': {'turnSignalLampStatus': False, 'leftFrontLamp': False, 'rightFrontLamp': False, 'leftRearLamp': False, 'rightRearLamp': False}}, 'windowOpen': {'frontLeft': 0, 'frontRight': 0, 'backLeft': 0, 'backRight': 0}, 'smartKeyBatteryWarning': False, 'fuelLevel': 17, 'washerFluidStatus': False, 'breakOilStatus': False, 'engineOilStatus': False, 'sleepModeCheck': True, 'vehicleMovementHis': False, 'vehicleSlope': False, 'neutralPosition': False, 'parkingBrakeHighNotch': False, 'time': '20240917081218', 'remoteWaitingTimeAlert': {'remoteControlAvailable': 1, 'remoteControlWaitingTime': 168, 'elapsedTime': '00:10:20'}, 'systemCutOffAlert': 0, 'tailLampStatus': 0, 'hazardStatus': 0, 'deicer': False}, 'msgId': '563e8469-49f4-4eaf-81fe-ea2337bb68ae'}
  983. 2024-09-17 16:06:51.563 DEBUG (SyncWorker_24) [hyundai_kia_connect_api.KiaUvoApiAU] hyundai_kia_connect_api - _get_location response: {'retCode': 'S', 'resCode': '0000', 'resMsg': {'coord': {'lat': -34.407692, 'lon': 150.878375, 'alt': 0, 'type': 0}, 'time': '20240917081211'}, 'msgId': '336e3695-9054-468a-922d-399fd3b2a91e'}
  984. 2024-09-17 16:06:51.563 DEBUG (SyncWorker_24) [hyundai_kia_connect_api.KiaUvoApiAU] hyundai_kia_connect_api - _get_location failed
  985. 2024-09-17 16:06:51.563 DEBUG (SyncWorker_24) [hyundai_kia_connect_api.KiaUvoApiAU] hyundai_kia_connect_api - SOC Levels couldn't be found. May not be an EV.
  986. 2024-09-17 16:06:51.566 ERROR (MainThread) [custom_components.kia_uvo.coordinator] Cached update failed: Traceback (most recent call last):
  987. File "/config/custom_components/kia_uvo/coordinator.py", line 126, in _async_update_data
  988. await self.hass.async_add_executor_job(
  989. File "/usr/local/lib/python3.12/concurrent/futures/thread.py", line 58, in run
  990. result = self.fn(*self.args, **self.kwargs)
  991. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  992. File "/usr/local/lib/python3.12/site-packages/hyundai_kia_connect_api/VehicleManager.py", line 115, in check_and_force_update_vehicles
  993. self.update_vehicle_with_cached_state(vehicle_id)
  994. File "/usr/local/lib/python3.12/site-packages/hyundai_kia_connect_api/VehicleManager.py", line 90, in update_vehicle_with_cached_state
  995. self.api.update_vehicle_with_cached_state(self.token, vehicle)
  996. File "/usr/local/lib/python3.12/site-packages/hyundai_kia_connect_api/KiaUvoApiAU.py", line 259, in update_vehicle_with_cached_state
  997. self._update_vehicle_drive_info(vehicle, state)
  998. ^^^^^
  999. UnboundLocalError: cannot access local variable 'state' where it is not associated with a value
  1000.  
  1001. During handling of the above exception, another exception occurred:
  1002.  
  1003. Traceback (most recent call last):
  1004. File "/config/custom_components/kia_uvo/coordinator.py", line 135, in _async_update_data
  1005. await self.hass.async_add_executor_job(
  1006. File "/usr/local/lib/python3.12/concurrent/futures/thread.py", line 58, in run
  1007. result = self.fn(*self.args, **self.kwargs)
  1008. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  1009. File "/usr/local/lib/python3.12/site-packages/hyundai_kia_connect_api/VehicleManager.py", line 85, in update_all_vehicles_with_cached_state
  1010. self.update_vehicle_with_cached_state(vehicle_id)
  1011. File "/usr/local/lib/python3.12/site-packages/hyundai_kia_connect_api/VehicleManager.py", line 90, in update_vehicle_with_cached_state
  1012. self.api.update_vehicle_with_cached_state(self.token, vehicle)
  1013. File "/usr/local/lib/python3.12/site-packages/hyundai_kia_connect_api/KiaUvoApiAU.py", line 259, in update_vehicle_with_cached_state
  1014. self._update_vehicle_drive_info(vehicle, state)
  1015. ^^^^^
  1016. UnboundLocalError: cannot access local variable 'state' where it is not associated with a value
  1017. Traceback (most recent call last):
  1018. File "/config/custom_components/kia_uvo/coordinator.py", line 126, in _async_update_data
  1019. await self.hass.async_add_executor_job(
  1020. File "/usr/local/lib/python3.12/concurrent/futures/thread.py", line 58, in run
  1021. result = self.fn(*self.args, **self.kwargs)
  1022. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  1023. File "/usr/local/lib/python3.12/site-packages/hyundai_kia_connect_api/VehicleManager.py", line 115, in check_and_force_update_vehicles
  1024. self.update_vehicle_with_cached_state(vehicle_id)
  1025. File "/usr/local/lib/python3.12/site-packages/hyundai_kia_connect_api/VehicleManager.py", line 90, in update_vehicle_with_cached_state
  1026. self.api.update_vehicle_with_cached_state(self.token, vehicle)
  1027. File "/usr/local/lib/python3.12/site-packages/hyundai_kia_connect_api/KiaUvoApiAU.py", line 259, in update_vehicle_with_cached_state
  1028. self._update_vehicle_drive_info(vehicle, state)
  1029. ^^^^^
  1030. UnboundLocalError: cannot access local variable 'state' where it is not associated with a value
  1031.  
  1032. During handling of the above exception, another exception occurred:
  1033.  
  1034. Traceback (most recent call last):
  1035. File "/config/custom_components/kia_uvo/coordinator.py", line 135, in _async_update_data
  1036. await self.hass.async_add_executor_job(
  1037. File "/usr/local/lib/python3.12/concurrent/futures/thread.py", line 58, in run
  1038. result = self.fn(*self.args, **self.kwargs)
  1039. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  1040. File "/usr/local/lib/python3.12/site-packages/hyundai_kia_connect_api/VehicleManager.py", line 85, in update_all_vehicles_with_cached_state
  1041. self.update_vehicle_with_cached_state(vehicle_id)
  1042. File "/usr/local/lib/python3.12/site-packages/hyundai_kia_connect_api/VehicleManager.py", line 90, in update_vehicle_with_cached_state
  1043. self.api.update_vehicle_with_cached_state(self.token, vehicle)
  1044. File "/usr/local/lib/python3.12/site-packages/hyundai_kia_connect_api/KiaUvoApiAU.py", line 259, in update_vehicle_with_cached_state
  1045. self._update_vehicle_drive_info(vehicle, state)
  1046. ^^^^^
  1047. UnboundLocalError: cannot access local variable 'state' where it is not associated with a value
  1048. 2024-09-17 16:06:51.568 DEBUG (MainThread) [custom_components.kia_uvo.coordinator] Finished fetching kia_uvo data in 6.110 seconds (success: False)
  1049. 2024-09-17 16:06:55.760 ERROR (MainThread) [custom_components.spotcast.spotcast_controller] Unsuccessful token request, received code 302 and Location header /get_access_token?reason=transport&productType=web_player&_authfailed=1. sp_dc and sp_key could be expired. Please update in config.
  1050. 2024-09-17 16:06:55.765 ERROR (MainThread) [homeassistant.helpers.entity] Update for sensor.playlists_sensor fails
  1051. Traceback (most recent call last):
  1052. File "/config/custom_components/spotcast/spotcast_controller.py", line 169, in get_spotify_token
  1053. ).result()
  1054. ^^^^^^^^
  1055. File "/usr/local/lib/python3.12/concurrent/futures/_base.py", line 456, in result
  1056. return self.__get_result()
  1057. ^^^^^^^^^^^^^^^^^^^
  1058. File "/usr/local/lib/python3.12/concurrent/futures/_base.py", line 401, in __get_result
  1059. raise self._exception
  1060. File "/config/custom_components/spotcast/spotcast_controller.py", line 214, in start_session
  1061. raise HomeAssistantError("Expired sp_dc, sp_key")
  1062. homeassistant.exceptions.HomeAssistantError: Expired sp_dc, sp_key
  1063.  
  1064. During handling of the above exception, another exception occurred:
  1065.  
  1066. Traceback (most recent call last):
  1067. File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 942, in async_update_ha_state
  1068. await self.async_device_update()
  1069. File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1302, in async_device_update
  1070. await hass.async_add_executor_job(self.update)
  1071. File "/usr/local/lib/python3.12/concurrent/futures/thread.py", line 58, in run
  1072. result = self.fn(*self.args, **self.kwargs)
  1073. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  1074. File "/config/custom_components/spotcast/sensor.py", line 118, in update
  1075. resp = self.hass.data[DOMAIN]["controller"].get_playlists(
  1076. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  1077. File "/config/custom_components/spotcast/spotcast_controller.py", line 384, in get_playlists
  1078. client = self.get_spotify_client(account)
  1079. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  1080. File "/config/custom_components/spotcast/spotcast_controller.py", line 265, in get_spotify_client
  1081. return spotipy.Spotify(auth=self.get_token_instance(account).access_token)
  1082. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  1083. File "/config/custom_components/spotcast/spotcast_controller.py", line 161, in access_token
  1084. self.ensure_token_valid()
  1085. File "/config/custom_components/spotcast/spotcast_controller.py", line 157, in ensure_token_valid
  1086. self.get_spotify_token()
  1087. File "/config/custom_components/spotcast/spotcast_controller.py", line 179, in get_spotify_token
  1088. raise HomeAssistantError("Could not get spotify token.")
  1089. homeassistant.exceptions.HomeAssistantError: Could not get spotify token.
  1090. 2024-09-17 16:07:31.936 DEBUG (SyncWorker_28) [hyundai_kia_connect_api.KiaUvoApiAU] hyundai_kia_connect_api - Get Device ID request: {'ccsp-service-id': '855c72df-dfd7-4230-ab03-67cbf902bb1c', 'ccsp-application-id': 'f9ccfdac-a48d-4c57-bd32-9116963c24ed', 'Stamp': 'MZR18y/WJGWtH4R9s4CDnIE8xgFHHmTvJOMcLQ0DsPfNsizuovRkWvfa1PG0+zE=', 'Content-Type': 'application/json;charset=UTF-8', 'Host': 'au-apigw.ccs.hyundai.com.au:8080', 'Connection': 'Keep-Alive', 'Accept-Encoding': 'gzip', 'User-Agent': 'okhttp/3.12.0'} {'pushRegId': '2ec99c34ac8b34e7597850ef72cbc47cb0531519aa7883464aeb6ddf9f25432f', 'pushType': 'GCM', 'uuid': '20a99eda-8482-4dd4-85a0-ef2789b0cf66'}
  1091. 2024-09-17 16:07:32.529 DEBUG (SyncWorker_28) [hyundai_kia_connect_api.KiaUvoApiAU] hyundai_kia_connect_api - Get Device ID response: {'retCode': 'S', 'resCode': '0000', 'resMsg': {'deviceId': 'e99bb0a3-867f-4593-9e67-5d242f655d88'}, 'msgId': 'b862d0d8-bb1d-4a46-bc1a-706cead5855d'}
  1092. 2024-09-17 16:07:32.530 DEBUG (SyncWorker_28) [hyundai_kia_connect_api.KiaUvoApiAU] hyundai_kia_connect_api - Get cookies request: https://au-apigw.ccs.hyundai.com.au:8080/api/v1/user/oauth2/authorize?response_type=code&client_id=855c72df-dfd7-4230-ab03-67cbf902bb1c&redirect_uri=https://au-apigw.ccs.hyundai.com.au:8080/api/v1/user/oauth2/redirect&lang=en
  1093. 2024-09-17 16:07:33.245 DEBUG (SyncWorker_28) [hyundai_kia_connect_api.KiaUvoApiAU] hyundai_kia_connect_api - Get cookies response: {'account': 'ZjZkYTg2YzMtOTRmNS00Mzg4LWJhYjYtY2Q5MTQ5NjNhNDY0.477712b0825d0d26c4585ee71262fe1aeef58340'}
  1094. 2024-09-17 16:07:33.872 DEBUG (SyncWorker_28) [hyundai_kia_connect_api.KiaUvoApiAU] hyundai_kia_connect_api - Sign In Response: {'redirectUrl': 'https://au-apigw.ccs.hyundai.com.au:8080/api/v1/user/oauth2/redirect?code=NCMQ1TRUNAYWXNK7LMPEZA', 'popup': False, 'method': '', 'upgrade': False, 'integrated': False, 'deleteAccountLink': ''}
  1095. 2024-09-17 16:07:33.873 DEBUG (SyncWorker_28) [hyundai_kia_connect_api.KiaUvoApiAU] hyundai_kia_connect_api - Get Access Token Data: {'Authorization': 'Basic ODU1YzcyZGYtZGZkNy00MjMwLWFiMDMtNjdjYmY5MDJiYjFjOmU2ZmJ3SE0zMllOYmhRbDBwdmlhUHAzcmY0dDNTNms5MWVjZUEzTUpMZGJkVGhDTw==', 'Stamp': 'MZR18y/WJGWtH4R9s4CDnIE8xgFHHmTvJOMcLQ0DsPfNsizuovRkWvfa1PG0+zE=', 'Content-type': 'application/x-www-form-urlencoded', 'Host': 'au-apigw.ccs.hyundai.com.au:8080', 'Connection': 'close', 'Accept-Encoding': 'gzip, deflate', 'User-Agent': 'okhttp/3.12.0'}grant_type=authorization_code&redirect_uri=https%3A%2F%2Fau-apigw.ccs.hyundai.com.au:8080%2Fapi%2Fv1%2Fuser%2Foauth2%2Fredirect&code=NCMQ1TRUNAYWXNK7LMPEZA
  1096. 2024-09-17 16:07:34.451 DEBUG (SyncWorker_28) [hyundai_kia_connect_api.KiaUvoApiAU] hyundai_kia_connect_api - Get Access Token Response: {'access_token': 'eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJwaWQiOiI1YjdjYzgzZTI0OTA5MjI1MDQyNmFhMjciLCJ1aWQiOiJkNjIwNzk0YS1kZTVkLTRjODYtYWFlMy1lOTE4ZGJiNjRiMTUiLCJzaWQiOiI4NTVjNzJkZi1kZmQ3LTQyMzAtYWIwMy02N2NiZjkwMmJiMWMiLCJleHAiOjE3MjY2Mzk2NTQsImlhdCI6MTcyNjU1MzI1NCwiaXNzIjoiYmx1ZWxpbmsifQ.dqBC0iUvxKaZNalfWW0s0MO1BcUvUfKewfnaH4SPnkdJHojVS6ex2GGDXtu0EklwejfqmEYQP5yPor81aRBx0FEpou9IBBtrB3wKWBGwx3pmy_ie5t9W4E5rw0Dd5OpieBf7oltVRmqot7sLoF9jF8F7X-YzqGZDLJ5cMjhhkIMIryBI87-8DT8eS7gAErnzfs28VKcGTbiTi2Gm36Ji3XKFGXidZ_sELtB0l-TTnyS6IWJVKgLZXLYOGcrxhdW4j-TuEOMPXj18rdNbTzmS-oQGT2b7P7yE8z7M7P26wKytJY36i4-WrhNdBxxELeeKJzQZhQf8vhGc3dPvoLa1XA', 'token_type': 'Bearer', 'refresh_token': 'N4_V8UL1VMSNHOHGSOQH2G', 'expires_in': 86400}
  1097. 2024-09-17 16:07:34.451 DEBUG (SyncWorker_28) [hyundai_kia_connect_api.KiaUvoApiAU] hyundai_kia_connect_api - Access Token Value Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJwaWQiOiI1YjdjYzgzZTI0OTA5MjI1MDQyNmFhMjciLCJ1aWQiOiJkNjIwNzk0YS1kZTVkLTRjODYtYWFlMy1lOTE4ZGJiNjRiMTUiLCJzaWQiOiI4NTVjNzJkZi1kZmQ3LTQyMzAtYWIwMy02N2NiZjkwMmJiMWMiLCJleHAiOjE3MjY2Mzk2NTQsImlhdCI6MTcyNjU1MzI1NCwiaXNzIjoiYmx1ZWxpbmsifQ.dqBC0iUvxKaZNalfWW0s0MO1BcUvUfKewfnaH4SPnkdJHojVS6ex2GGDXtu0EklwejfqmEYQP5yPor81aRBx0FEpou9IBBtrB3wKWBGwx3pmy_ie5t9W4E5rw0Dd5OpieBf7oltVRmqot7sLoF9jF8F7X-YzqGZDLJ5cMjhhkIMIryBI87-8DT8eS7gAErnzfs28VKcGTbiTi2Gm36Ji3XKFGXidZ_sELtB0l-TTnyS6IWJVKgLZXLYOGcrxhdW4j-TuEOMPXj18rdNbTzmS-oQGT2b7P7yE8z7M7P26wKytJY36i4-WrhNdBxxELeeKJzQZhQf8vhGc3dPvoLa1XA
  1098. 2024-09-17 16:07:34.451 DEBUG (SyncWorker_28) [hyundai_kia_connect_api.KiaUvoApiAU] hyundai_kia_connect_api - Get Refresh Token Data: grant_type=refresh_token&refresh_token=N4_V8UL1VMSNHOHGSOQH2G
  1099. 2024-09-17 16:07:35.024 DEBUG (SyncWorker_28) [hyundai_kia_connect_api.KiaUvoApiAU] hyundai_kia_connect_api - Get Refresh Token Response: {'access_token': 'eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJwaWQiOiI1YjdjYzgzZTI0OTA5MjI1MDQyNmFhMjciLCJ1aWQiOiJkNjIwNzk0YS1kZTVkLTRjODYtYWFlMy1lOTE4ZGJiNjRiMTUiLCJzaWQiOiI4NTVjNzJkZi1kZmQ3LTQyMzAtYWIwMy02N2NiZjkwMmJiMWMiLCJleHAiOjE3MjY2Mzk2NTQsImlhdCI6MTcyNjU1MzI1NCwiaXNzIjoiYmx1ZWxpbmsifQ.dqBC0iUvxKaZNalfWW0s0MO1BcUvUfKewfnaH4SPnkdJHojVS6ex2GGDXtu0EklwejfqmEYQP5yPor81aRBx0FEpou9IBBtrB3wKWBGwx3pmy_ie5t9W4E5rw0Dd5OpieBf7oltVRmqot7sLoF9jF8F7X-YzqGZDLJ5cMjhhkIMIryBI87-8DT8eS7gAErnzfs28VKcGTbiTi2Gm36Ji3XKFGXidZ_sELtB0l-TTnyS6IWJVKgLZXLYOGcrxhdW4j-TuEOMPXj18rdNbTzmS-oQGT2b7P7yE8z7M7P26wKytJY36i4-WrhNdBxxELeeKJzQZhQf8vhGc3dPvoLa1XA', 'token_type': 'Bearer', 'expires_in': 86400}
  1100. 2024-09-17 16:07:35.608 DEBUG (SyncWorker_28) [hyundai_kia_connect_api.KiaUvoApiAU] hyundai_kia_connect_api - Get Vehicles Response: {'retCode': 'S', 'resCode': '0000', 'resMsg': {'vehicles': [{'vin': 'KMHR781ASRU715759', 'vehicleId': 'e998e7f5-8a79-43a1-9aab-a642c66e0426', 'vehicleName': 'PALISADE 19/22', 'type': 'GN', 'tmuNum': '-', 'nickname': 'PALISADE', 'year': '2024', 'master': False, 'carShare': -1, 'regDate': '2024-01-18 20:00:15.569', 'detailInfo': {'inColor': 'NKE', 'outColor': 'WC9', 'bodyType': '3', 'saleCarmdlCd': 'S8', 'prodCarmdlCd': 'S8', 'saleCarmdlEnNm': 'PALISADE'}, 'protocolType': 0, 'ccuCCS2ProtocolSupport': 0}]}, 'msgId': 'cf53fb6d-d52f-4ef4-9c04-8460485a61e9'}
  1101. 2024-09-17 16:07:36.204 DEBUG (SyncWorker_28) [hyundai_kia_connect_api.KiaUvoApiAU] hyundai_kia_connect_api - get_cached_vehicle_status response: {'retCode': 'S', 'resCode': '0000', 'resMsg': {'airCtrlOn': False, 'engine': False, 'doorLock': True, 'doorOpen': {'frontLeft': 0, 'frontRight': 0, 'backLeft': 0, 'backRight': 0}, 'trunkOpen': False, 'airTemp': {'value': '00H', 'unit': 0, 'hvacTempType': 1}, 'defrost': False, 'lowFuelLight': False, 'acc': False, 'ign3': False, 'hoodOpen': False, 'transCond': True, 'steerWheelHeat': 0, 'sideBackWindowHeat': 0, 'dte': {'value': 146, 'unit': 1}, 'tirePressureLamp': {'tirePressureLampAll': 0, 'tirePressureLampFL': 0, 'tirePressureLampFR': 0, 'tirePressureLampRL': 0, 'tirePressureLampRR': 0}, 'seatHeaterVentState': {'drvSeatHeatState': 2, 'astSeatHeatState': 2, 'rlSeatHeatState': 2, 'rrSeatHeatState': 2}, 'battery': {'batSoc': 81, 'batState': 0, 'sjbDeliveryMode': 0, 'batSignalReferenceValue': {'batWarning': 0}, 'powerAutoCutMode': 2}, 'sunroofOpen': False, 'lampWireStatus': {'stopLamp': {'stopLampStatus': False, 'leftLamp': False, 'rightLamp': False}, 'headLamp': {'headLampStatus': False, 'leftLowLamp': False, 'rightLowLamp': False, 'leftHighLamp': False, 'rightHighLamp': False, 'leftBifuncLamp': False, 'rightBifuncLamp': False}, 'turnSignalLamp': {'turnSignalLampStatus': False, 'leftFrontLamp': False, 'rightFrontLamp': False, 'leftRearLamp': False, 'rightRearLamp': False}}, 'windowOpen': {'frontLeft': 0, 'frontRight': 0, 'backLeft': 0, 'backRight': 0}, 'smartKeyBatteryWarning': False, 'fuelLevel': 17, 'washerFluidStatus': False, 'breakOilStatus': False, 'engineOilStatus': False, 'sleepModeCheck': True, 'vehicleMovementHis': False, 'vehicleSlope': False, 'neutralPosition': False, 'parkingBrakeHighNotch': False, 'time': '20240917081218', 'remoteWaitingTimeAlert': {'remoteControlAvailable': 1, 'remoteControlWaitingTime': 168, 'elapsedTime': '00:10:20'}, 'systemCutOffAlert': 0, 'tailLampStatus': 0, 'hazardStatus': 0, 'deicer': False}, 'msgId': 'c281c7b5-e6f7-4116-96f3-0753436a58ac'}
  1102. 2024-09-17 16:07:36.793 DEBUG (SyncWorker_28) [hyundai_kia_connect_api.KiaUvoApiAU] hyundai_kia_connect_api - _get_location response: {'retCode': 'S', 'resCode': '0000', 'resMsg': {'coord': {'lat': -34.407692, 'lon': 150.878375, 'alt': 0, 'type': 0}, 'time': '20240917081211'}, 'msgId': '95f0d101-87c4-46c6-a52b-2ef074d6b421'}
  1103. 2024-09-17 16:07:36.793 DEBUG (SyncWorker_28) [hyundai_kia_connect_api.KiaUvoApiAU] hyundai_kia_connect_api - _get_location failed
  1104. 2024-09-17 16:07:36.793 DEBUG (SyncWorker_28) [hyundai_kia_connect_api.KiaUvoApiAU] hyundai_kia_connect_api - SOC Levels couldn't be found. May not be an EV.
  1105. 2024-09-17 16:07:36.796 ERROR (MainThread) [custom_components.kia_uvo.coordinator] Force update failed, falling back to cached: Traceback (most recent call last):
  1106. File "/config/custom_components/kia_uvo/coordinator.py", line 126, in _async_update_data
  1107. await self.hass.async_add_executor_job(
  1108. File "/usr/local/lib/python3.12/concurrent/futures/thread.py", line 58, in run
  1109. result = self.fn(*self.args, **self.kwargs)
  1110. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  1111. File "/usr/local/lib/python3.12/site-packages/hyundai_kia_connect_api/VehicleManager.py", line 115, in check_and_force_update_vehicles
  1112. self.update_vehicle_with_cached_state(vehicle_id)
  1113. File "/usr/local/lib/python3.12/site-packages/hyundai_kia_connect_api/VehicleManager.py", line 90, in update_vehicle_with_cached_state
  1114. self.api.update_vehicle_with_cached_state(self.token, vehicle)
  1115. File "/usr/local/lib/python3.12/site-packages/hyundai_kia_connect_api/KiaUvoApiAU.py", line 259, in update_vehicle_with_cached_state
  1116. self._update_vehicle_drive_info(vehicle, state)
  1117. ^^^^^
  1118. UnboundLocalError: cannot access local variable 'state' where it is not associated with a value
  1119. Traceback (most recent call last):
  1120. File "/config/custom_components/kia_uvo/coordinator.py", line 126, in _async_update_data
  1121. await self.hass.async_add_executor_job(
  1122. File "/usr/local/lib/python3.12/concurrent/futures/thread.py", line 58, in run
  1123. result = self.fn(*self.args, **self.kwargs)
  1124. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  1125. File "/usr/local/lib/python3.12/site-packages/hyundai_kia_connect_api/VehicleManager.py", line 115, in check_and_force_update_vehicles
  1126. self.update_vehicle_with_cached_state(vehicle_id)
  1127. File "/usr/local/lib/python3.12/site-packages/hyundai_kia_connect_api/VehicleManager.py", line 90, in update_vehicle_with_cached_state
  1128. self.api.update_vehicle_with_cached_state(self.token, vehicle)
  1129. File "/usr/local/lib/python3.12/site-packages/hyundai_kia_connect_api/KiaUvoApiAU.py", line 259, in update_vehicle_with_cached_state
  1130. self._update_vehicle_drive_info(vehicle, state)
  1131. ^^^^^
  1132. UnboundLocalError: cannot access local variable 'state' where it is not associated with a value
  1133. 2024-09-17 16:07:37.383 DEBUG (SyncWorker_33) [hyundai_kia_connect_api.KiaUvoApiAU] hyundai_kia_connect_api - get_cached_vehicle_status response: {'retCode': 'S', 'resCode': '0000', 'resMsg': {'airCtrlOn': False, 'engine': False, 'doorLock': True, 'doorOpen': {'frontLeft': 0, 'frontRight': 0, 'backLeft': 0, 'backRight': 0}, 'trunkOpen': False, 'airTemp': {'value': '00H', 'unit': 0, 'hvacTempType': 1}, 'defrost': False, 'lowFuelLight': False, 'acc': False, 'ign3': False, 'hoodOpen': False, 'transCond': True, 'steerWheelHeat': 0, 'sideBackWindowHeat': 0, 'dte': {'value': 146, 'unit': 1}, 'tirePressureLamp': {'tirePressureLampAll': 0, 'tirePressureLampFL': 0, 'tirePressureLampFR': 0, 'tirePressureLampRL': 0, 'tirePressureLampRR': 0}, 'seatHeaterVentState': {'drvSeatHeatState': 2, 'astSeatHeatState': 2, 'rlSeatHeatState': 2, 'rrSeatHeatState': 2}, 'battery': {'batSoc': 81, 'batState': 0, 'sjbDeliveryMode': 0, 'batSignalReferenceValue': {'batWarning': 0}, 'powerAutoCutMode': 2}, 'sunroofOpen': False, 'lampWireStatus': {'stopLamp': {'stopLampStatus': False, 'leftLamp': False, 'rightLamp': False}, 'headLamp': {'headLampStatus': False, 'leftLowLamp': False, 'rightLowLamp': False, 'leftHighLamp': False, 'rightHighLamp': False, 'leftBifuncLamp': False, 'rightBifuncLamp': False}, 'turnSignalLamp': {'turnSignalLampStatus': False, 'leftFrontLamp': False, 'rightFrontLamp': False, 'leftRearLamp': False, 'rightRearLamp': False}}, 'windowOpen': {'frontLeft': 0, 'frontRight': 0, 'backLeft': 0, 'backRight': 0}, 'smartKeyBatteryWarning': False, 'fuelLevel': 17, 'washerFluidStatus': False, 'breakOilStatus': False, 'engineOilStatus': False, 'sleepModeCheck': True, 'vehicleMovementHis': False, 'vehicleSlope': False, 'neutralPosition': False, 'parkingBrakeHighNotch': False, 'time': '20240917081218', 'remoteWaitingTimeAlert': {'remoteControlAvailable': 1, 'remoteControlWaitingTime': 168, 'elapsedTime': '00:10:20'}, 'systemCutOffAlert': 0, 'tailLampStatus': 0, 'hazardStatus': 0, 'deicer': False}, 'msgId': '74979000-b9a2-40db-984c-3f9e3d756b40'}
  1134. 2024-09-17 16:07:37.976 DEBUG (SyncWorker_33) [hyundai_kia_connect_api.KiaUvoApiAU] hyundai_kia_connect_api - _get_location response: {'retCode': 'S', 'resCode': '0000', 'resMsg': {'coord': {'lat': -34.407692, 'lon': 150.878375, 'alt': 0, 'type': 0}, 'time': '20240917081211'}, 'msgId': '7e744a2a-3fdd-4b66-a931-12f1032f7a41'}
  1135. 2024-09-17 16:07:37.977 DEBUG (SyncWorker_33) [hyundai_kia_connect_api.KiaUvoApiAU] hyundai_kia_connect_api - _get_location failed
  1136. 2024-09-17 16:07:37.979 DEBUG (SyncWorker_33) [hyundai_kia_connect_api.KiaUvoApiAU] hyundai_kia_connect_api - SOC Levels couldn't be found. May not be an EV.
  1137. 2024-09-17 16:07:37.998 ERROR (MainThread) [custom_components.kia_uvo.coordinator] Cached update failed: Traceback (most recent call last):
  1138. File "/config/custom_components/kia_uvo/coordinator.py", line 126, in _async_update_data
  1139. await self.hass.async_add_executor_job(
  1140. File "/usr/local/lib/python3.12/concurrent/futures/thread.py", line 58, in run
  1141. result = self.fn(*self.args, **self.kwargs)
  1142. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  1143. File "/usr/local/lib/python3.12/site-packages/hyundai_kia_connect_api/VehicleManager.py", line 115, in check_and_force_update_vehicles
  1144. self.update_vehicle_with_cached_state(vehicle_id)
  1145. File "/usr/local/lib/python3.12/site-packages/hyundai_kia_connect_api/VehicleManager.py", line 90, in update_vehicle_with_cached_state
  1146. self.api.update_vehicle_with_cached_state(self.token, vehicle)
  1147. File "/usr/local/lib/python3.12/site-packages/hyundai_kia_connect_api/KiaUvoApiAU.py", line 259, in update_vehicle_with_cached_state
  1148. self._update_vehicle_drive_info(vehicle, state)
  1149. ^^^^^
  1150. UnboundLocalError: cannot access local variable 'state' where it is not associated with a value
  1151.  
  1152. During handling of the above exception, another exception occurred:
  1153.  
  1154. Traceback (most recent call last):
  1155. File "/config/custom_components/kia_uvo/coordinator.py", line 135, in _async_update_data
  1156. await self.hass.async_add_executor_job(
  1157. File "/usr/local/lib/python3.12/concurrent/futures/thread.py", line 58, in run
  1158. result = self.fn(*self.args, **self.kwargs)
  1159. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  1160. File "/usr/local/lib/python3.12/site-packages/hyundai_kia_connect_api/VehicleManager.py", line 85, in update_all_vehicles_with_cached_state
  1161. self.update_vehicle_with_cached_state(vehicle_id)
  1162. File "/usr/local/lib/python3.12/site-packages/hyundai_kia_connect_api/VehicleManager.py", line 90, in update_vehicle_with_cached_state
  1163. self.api.update_vehicle_with_cached_state(self.token, vehicle)
  1164. File "/usr/local/lib/python3.12/site-packages/hyundai_kia_connect_api/KiaUvoApiAU.py", line 259, in update_vehicle_with_cached_state
  1165. self._update_vehicle_drive_info(vehicle, state)
  1166. ^^^^^
  1167. UnboundLocalError: cannot access local variable 'state' where it is not associated with a value
  1168. Traceback (most recent call last):
  1169. File "/config/custom_components/kia_uvo/coordinator.py", line 126, in _async_update_data
  1170. await self.hass.async_add_executor_job(
  1171. File "/usr/local/lib/python3.12/concurrent/futures/thread.py", line 58, in run
  1172. result = self.fn(*self.args, **self.kwargs)
  1173. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  1174. File "/usr/local/lib/python3.12/site-packages/hyundai_kia_connect_api/VehicleManager.py", line 115, in check_and_force_update_vehicles
  1175. self.update_vehicle_with_cached_state(vehicle_id)
  1176. File "/usr/local/lib/python3.12/site-packages/hyundai_kia_connect_api/VehicleManager.py", line 90, in update_vehicle_with_cached_state
  1177. self.api.update_vehicle_with_cached_state(self.token, vehicle)
  1178. File "/usr/local/lib/python3.12/site-packages/hyundai_kia_connect_api/KiaUvoApiAU.py", line 259, in update_vehicle_with_cached_state
  1179. self._update_vehicle_drive_info(vehicle, state)
  1180. ^^^^^
  1181. UnboundLocalError: cannot access local variable 'state' where it is not associated with a value
  1182.  
  1183. During handling of the above exception, another exception occurred:
  1184.  
  1185. Traceback (most recent call last):
  1186. File "/config/custom_components/kia_uvo/coordinator.py", line 135, in _async_update_data
  1187. await self.hass.async_add_executor_job(
  1188. File "/usr/local/lib/python3.12/concurrent/futures/thread.py", line 58, in run
  1189. result = self.fn(*self.args, **self.kwargs)
  1190. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  1191. File "/usr/local/lib/python3.12/site-packages/hyundai_kia_connect_api/VehicleManager.py", line 85, in update_all_vehicles_with_cached_state
  1192. self.update_vehicle_with_cached_state(vehicle_id)
  1193. File "/usr/local/lib/python3.12/site-packages/hyundai_kia_connect_api/VehicleManager.py", line 90, in update_vehicle_with_cached_state
  1194. self.api.update_vehicle_with_cached_state(self.token, vehicle)
  1195. File "/usr/local/lib/python3.12/site-packages/hyundai_kia_connect_api/KiaUvoApiAU.py", line 259, in update_vehicle_with_cached_state
  1196. self._update_vehicle_drive_info(vehicle, state)
  1197. ^^^^^
  1198. UnboundLocalError: cannot access local variable 'state' where it is not associated with a value
  1199. 2024-09-17 16:07:38.004 DEBUG (MainThread) [custom_components.kia_uvo.coordinator] Finished fetching kia_uvo data in 6.069 seconds (success: False)
  1200. 2024-09-17 16:07:53.706 WARNING (SyncWorker_11) [urllib3.connectionpool] Connection pool is full, discarding connection: 192.168.1.222. Connection pool size: 10
  1201. 2024-09-17 16:07:53.709 WARNING (SyncWorker_54) [urllib3.connectionpool] Connection pool is full, discarding connection: 192.168.1.222. Connection pool size: 10
  1202. 2024-09-17 16:07:56.114 ERROR (MainThread) [custom_components.spotcast.spotcast_controller] Unsuccessful token request, received code 302 and Location header /get_access_token?reason=transport&productType=web_player&_authfailed=1. sp_dc and sp_key could be expired. Please update in config.
  1203. 2024-09-17 16:07:56.119 ERROR (MainThread) [homeassistant.helpers.entity] Update for sensor.playlists_sensor fails
  1204. Traceback (most recent call last):
  1205. File "/config/custom_components/spotcast/spotcast_controller.py", line 169, in get_spotify_token
  1206. ).result()
  1207. ^^^^^^^^
  1208. File "/usr/local/lib/python3.12/concurrent/futures/_base.py", line 456, in result
  1209. return self.__get_result()
  1210. ^^^^^^^^^^^^^^^^^^^
  1211. File "/usr/local/lib/python3.12/concurrent/futures/_base.py", line 401, in __get_result
  1212. raise self._exception
  1213. File "/config/custom_components/spotcast/spotcast_controller.py", line 214, in start_session
  1214. raise HomeAssistantError("Expired sp_dc, sp_key")
  1215. homeassistant.exceptions.HomeAssistantError: Expired sp_dc, sp_key
  1216.  
  1217. During handling of the above exception, another exception occurred:
  1218.  
  1219. Traceback (most recent call last):
  1220. File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 942, in async_update_ha_state
  1221. await self.async_device_update()
  1222. File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1302, in async_device_update
  1223. await hass.async_add_executor_job(self.update)
  1224. File "/usr/local/lib/python3.12/concurrent/futures/thread.py", line 58, in run
  1225. result = self.fn(*self.args, **self.kwargs)
  1226. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  1227. File "/config/custom_components/spotcast/sensor.py", line 118, in update
  1228. resp = self.hass.data[DOMAIN]["controller"].get_playlists(
  1229. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  1230. File "/config/custom_components/spotcast/spotcast_controller.py", line 384, in get_playlists
  1231. client = self.get_spotify_client(account)
  1232. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  1233. File "/config/custom_components/spotcast/spotcast_controller.py", line 265, in get_spotify_client
  1234. return spotipy.Spotify(auth=self.get_token_instance(account).access_token)
  1235. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  1236. File "/config/custom_components/spotcast/spotcast_controller.py", line 161, in access_token
  1237. self.ensure_token_valid()
  1238. File "/config/custom_components/spotcast/spotcast_controller.py", line 157, in ensure_token_valid
  1239. self.get_spotify_token()
  1240. File "/config/custom_components/spotcast/spotcast_controller.py", line 179, in get_spotify_token
  1241. raise HomeAssistantError("Could not get spotify token.")
  1242. homeassistant.exceptions.HomeAssistantError: Could not get spotify token.
  1243. 2024-09-17 16:08:53.685 WARNING (SyncWorker_7) [urllib3.connectionpool] Connection pool is full, discarding connection: 192.168.1.222. Connection pool size: 10
  1244. 2024-09-17 16:08:53.699 WARNING (SyncWorker_46) [urllib3.connectionpool] Connection pool is full, discarding connection: 192.168.1.222. Connection pool size: 10
  1245. 2024-09-17 16:08:53.737 WARNING (SyncWorker_42) [urllib3.connectionpool] Connection pool is full, discarding connection: 192.168.1.222. Connection pool size: 10
  1246. 2024-09-17 16:08:55.674 ERROR (MainThread) [custom_components.spotcast.spotcast_controller] Unsuccessful token request, received code 302 and Location header /get_access_token?reason=transport&productType=web_player&_authfailed=1. sp_dc and sp_key could be expired. Please update in config.
  1247. 2024-09-17 16:08:55.680 ERROR (MainThread) [homeassistant.helpers.entity] Update for sensor.playlists_sensor fails
  1248. Traceback (most recent call last):
  1249. File "/config/custom_components/spotcast/spotcast_controller.py", line 169, in get_spotify_token
  1250. ).result()
  1251. ^^^^^^^^
  1252. File "/usr/local/lib/python3.12/concurrent/futures/_base.py", line 456, in result
  1253. return self.__get_result()
  1254. ^^^^^^^^^^^^^^^^^^^
  1255. File "/usr/local/lib/python3.12/concurrent/futures/_base.py", line 401, in __get_result
  1256. raise self._exception
  1257. File "/config/custom_components/spotcast/spotcast_controller.py", line 214, in start_session
  1258. raise HomeAssistantError("Expired sp_dc, sp_key")
  1259. homeassistant.exceptions.HomeAssistantError: Expired sp_dc, sp_key
  1260.  
  1261. During handling of the above exception, another exception occurred:
  1262.  
  1263. Traceback (most recent call last):
  1264. File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 942, in async_update_ha_state
  1265. await self.async_device_update()
  1266. File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1302, in async_device_update
  1267. await hass.async_add_executor_job(self.update)
  1268. File "/usr/local/lib/python3.12/concurrent/futures/thread.py", line 58, in run
  1269. result = self.fn(*self.args, **self.kwargs)
  1270. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  1271. File "/config/custom_components/spotcast/sensor.py", line 118, in update
  1272. resp = self.hass.data[DOMAIN]["controller"].get_playlists(
  1273. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  1274. File "/config/custom_components/spotcast/spotcast_controller.py", line 384, in get_playlists
  1275. client = self.get_spotify_client(account)
  1276. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  1277. File "/config/custom_components/spotcast/spotcast_controller.py", line 265, in get_spotify_client
  1278. return spotipy.Spotify(auth=self.get_token_instance(account).access_token)
  1279. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  1280. File "/config/custom_components/spotcast/spotcast_controller.py", line 161, in access_token
  1281. self.ensure_token_valid()
  1282. File "/config/custom_components/spotcast/spotcast_controller.py", line 157, in ensure_token_valid
  1283. self.get_spotify_token()
  1284. File "/config/custom_components/spotcast/spotcast_controller.py", line 179, in get_spotify_token
  1285. raise HomeAssistantError("Could not get spotify token.")
  1286. homeassistant.exceptions.HomeAssistantError: Could not get spotify token.
  1287. 2024-09-17 16:08:58.236 DEBUG (SyncWorker_37) [hyundai_kia_connect_api.KiaUvoApiAU] hyundai_kia_connect_api - Get Device ID request: {'ccsp-service-id': '855c72df-dfd7-4230-ab03-67cbf902bb1c', 'ccsp-application-id': 'f9ccfdac-a48d-4c57-bd32-9116963c24ed', 'Stamp': 'MZR18y/WJGWtH4R9s4CDnIE8xgFHHmTvJOMcLQ0DsPfNsizuovRkWvfa1PG1/Tg=', 'Content-Type': 'application/json;charset=UTF-8', 'Host': 'au-apigw.ccs.hyundai.com.au:8080', 'Connection': 'Keep-Alive', 'Accept-Encoding': 'gzip', 'User-Agent': 'okhttp/3.12.0'} {'pushRegId': '8af33d1cf6bf22cb4d8c59f0906a52d924e2b00f95a1c1964e72eccc769e38f5', 'pushType': 'GCM', 'uuid': '89646894-4f30-49c1-a22a-6c662003e04c'}
  1288. 2024-09-17 16:08:58.818 DEBUG (SyncWorker_37) [hyundai_kia_connect_api.KiaUvoApiAU] hyundai_kia_connect_api - Get Device ID response: {'retCode': 'S', 'resCode': '0000', 'resMsg': {'deviceId': '8d67cafd-e3f2-4bd0-856f-3a97f1a8b3f2'}, 'msgId': 'ea0b67fc-69a3-453a-8173-93fc97cefbde'}
  1289. 2024-09-17 16:08:58.819 DEBUG (SyncWorker_37) [hyundai_kia_connect_api.KiaUvoApiAU] hyundai_kia_connect_api - Get cookies request: https://au-apigw.ccs.hyundai.com.au:8080/api/v1/user/oauth2/authorize?response_type=code&client_id=855c72df-dfd7-4230-ab03-67cbf902bb1c&redirect_uri=https://au-apigw.ccs.hyundai.com.au:8080/api/v1/user/oauth2/redirect&lang=en
  1290. 2024-09-17 16:08:59.531 DEBUG (SyncWorker_37) [hyundai_kia_connect_api.KiaUvoApiAU] hyundai_kia_connect_api - Get cookies response: {'account': 'NjFlMWFjMmUtNTJhYS00ZDU4LTkzYTAtNDcxZmYwYTFlNGVl.dfdb10bf3b3ee70a25c726bda8047957b42e43b7'}
  1291. 2024-09-17 16:09:00.170 DEBUG (SyncWorker_37) [hyundai_kia_connect_api.KiaUvoApiAU] hyundai_kia_connect_api - Sign In Response: {'redirectUrl': 'https://au-apigw.ccs.hyundai.com.au:8080/api/v1/user/oauth2/redirect?code=7F-RHOAWMM2UUGJ2MJ0HDQ', 'popup': False, 'method': '', 'upgrade': False, 'integrated': False, 'deleteAccountLink': ''}
  1292. 2024-09-17 16:09:00.171 DEBUG (SyncWorker_37) [hyundai_kia_connect_api.KiaUvoApiAU] hyundai_kia_connect_api - Get Access Token Data: {'Authorization': 'Basic ODU1YzcyZGYtZGZkNy00MjMwLWFiMDMtNjdjYmY5MDJiYjFjOmU2ZmJ3SE0zMllOYmhRbDBwdmlhUHAzcmY0dDNTNms5MWVjZUEzTUpMZGJkVGhDTw==', 'Stamp': 'MZR18y/WJGWtH4R9s4CDnIE8xgFHHmTvJOMcLQ0DsPfNsizuovRkWvfa1PG1/Tg=', 'Content-type': 'application/x-www-form-urlencoded', 'Host': 'au-apigw.ccs.hyundai.com.au:8080', 'Connection': 'close', 'Accept-Encoding': 'gzip, deflate', 'User-Agent': 'okhttp/3.12.0'}grant_type=authorization_code&redirect_uri=https%3A%2F%2Fau-apigw.ccs.hyundai.com.au:8080%2Fapi%2Fv1%2Fuser%2Foauth2%2Fredirect&code=7F-RHOAWMM2UUGJ2MJ0HDQ
  1293. 2024-09-17 16:09:00.735 DEBUG (SyncWorker_37) [hyundai_kia_connect_api.KiaUvoApiAU] hyundai_kia_connect_api - Get Access Token Response: {'access_token': 'eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJwaWQiOiI1YjdjYzgzZTI0OTA5MjI1MDQyNmFhMjciLCJ1aWQiOiJkNjIwNzk0YS1kZTVkLTRjODYtYWFlMy1lOTE4ZGJiNjRiMTUiLCJzaWQiOiI4NTVjNzJkZi1kZmQ3LTQyMzAtYWIwMy02N2NiZjkwMmJiMWMiLCJleHAiOjE3MjY2Mzk3NDAsImlhdCI6MTcyNjU1MzM0MCwiaXNzIjoiYmx1ZWxpbmsifQ.l_dPv-rf2MSNwHvk4M5UL6typcImFmd6d-j4gYbwPLlbIFHNrtpYJq81-jT197OSKxXy9Yg5m5DlJ4mmzSqYJgtaHWLuj2pBGEmxMq4OVekan7B0WkhaKx760HpQE8DuHv1xIasyM3Eh_xUj8Lpp7v4mJLj1WCcnZ_Sl9Hw2YCnjTy12jNTpUDbMGuRXE5IDYyJw9TkyfCifQqUSnGh8-o020YQG-8ZRKXHkCW0_8VQXUHkDgahUmxPQ7yeZM7lLyGDhxrUHT04yHB5B1vU_4uLALVwcdaqYouvkAxSdH6-bSsPt-bZAsDcg80C0PJPfbBDbFLLwWNbsv4RRp1L25w', 'token_type': 'Bearer', 'refresh_token': '8KMKTNRAUXKFYYJ7G8GOUG', 'expires_in': 86400}
  1294. 2024-09-17 16:09:00.735 DEBUG (SyncWorker_37) [hyundai_kia_connect_api.KiaUvoApiAU] hyundai_kia_connect_api - Access Token Value Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJwaWQiOiI1YjdjYzgzZTI0OTA5MjI1MDQyNmFhMjciLCJ1aWQiOiJkNjIwNzk0YS1kZTVkLTRjODYtYWFlMy1lOTE4ZGJiNjRiMTUiLCJzaWQiOiI4NTVjNzJkZi1kZmQ3LTQyMzAtYWIwMy02N2NiZjkwMmJiMWMiLCJleHAiOjE3MjY2Mzk3NDAsImlhdCI6MTcyNjU1MzM0MCwiaXNzIjoiYmx1ZWxpbmsifQ.l_dPv-rf2MSNwHvk4M5UL6typcImFmd6d-j4gYbwPLlbIFHNrtpYJq81-jT197OSKxXy9Yg5m5DlJ4mmzSqYJgtaHWLuj2pBGEmxMq4OVekan7B0WkhaKx760HpQE8DuHv1xIasyM3Eh_xUj8Lpp7v4mJLj1WCcnZ_Sl9Hw2YCnjTy12jNTpUDbMGuRXE5IDYyJw9TkyfCifQqUSnGh8-o020YQG-8ZRKXHkCW0_8VQXUHkDgahUmxPQ7yeZM7lLyGDhxrUHT04yHB5B1vU_4uLALVwcdaqYouvkAxSdH6-bSsPt-bZAsDcg80C0PJPfbBDbFLLwWNbsv4RRp1L25w
  1295. 2024-09-17 16:09:00.736 DEBUG (SyncWorker_37) [hyundai_kia_connect_api.KiaUvoApiAU] hyundai_kia_connect_api - Get Refresh Token Data: grant_type=refresh_token&refresh_token=8KMKTNRAUXKFYYJ7G8GOUG
  1296. 2024-09-17 16:09:01.304 DEBUG (SyncWorker_37) [hyundai_kia_connect_api.KiaUvoApiAU] hyundai_kia_connect_api - Get Refresh Token Response: {'access_token': 'eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJwaWQiOiI1YjdjYzgzZTI0OTA5MjI1MDQyNmFhMjciLCJ1aWQiOiJkNjIwNzk0YS1kZTVkLTRjODYtYWFlMy1lOTE4ZGJiNjRiMTUiLCJzaWQiOiI4NTVjNzJkZi1kZmQ3LTQyMzAtYWIwMy02N2NiZjkwMmJiMWMiLCJleHAiOjE3MjY2Mzk3NDEsImlhdCI6MTcyNjU1MzM0MSwiaXNzIjoiYmx1ZWxpbmsifQ.e-4lYj7-DUk8p0FIQNdxnHy4ZApkUtqFVEhKNC3zD-35eKPv0FDC37IJFCGJJW05TXFN7epSFSIvRPf5mu6QbzDKD1xe4L1lYb8Fu-xvyM2X59JDI8u7zsyYipTkis8Rg3zRCd6MEyZtTu_HdpMRu35oTrXyr2LoXFO5ml7BjbotKR9mUzzqKP5ZMzZ3QYED3qEY_uzTOoPNPDF1gS8Vs1_mtVSxTC8_VUjZHvNyHkHytcgViJ81PcX-byV-xgJij38WqLvWGq0vTKRKoAGHphb59qYOoCJTXOJspY_gOmSujuC2V9bFYJg6cRbgEVaq-BwLASim2T0Ctj-yjEBpfQ', 'token_type': 'Bearer', 'expires_in': 86400}
  1297. 2024-09-17 16:09:01.908 DEBUG (SyncWorker_37) [hyundai_kia_connect_api.KiaUvoApiAU] hyundai_kia_connect_api - Get Vehicles Response: {'retCode': 'S', 'resCode': '0000', 'resMsg': {'vehicles': [{'vin': 'KMHR781ASRU715759', 'vehicleId': 'e998e7f5-8a79-43a1-9aab-a642c66e0426', 'vehicleName': 'PALISADE 19/22', 'type': 'GN', 'tmuNum': '-', 'nickname': 'PALISADE', 'year': '2024', 'master': False, 'carShare': -1, 'regDate': '2024-01-18 20:00:15.569', 'detailInfo': {'inColor': 'NKE', 'outColor': 'WC9', 'bodyType': '3', 'saleCarmdlCd': 'S8', 'prodCarmdlCd': 'S8', 'saleCarmdlEnNm': 'PALISADE'}, 'protocolType': 0, 'ccuCCS2ProtocolSupport': 0}]}, 'msgId': 'f3c7b0bf-9a6f-43d6-a5ad-802f7ce56006'}
  1298. 2024-09-17 16:09:02.504 DEBUG (SyncWorker_40) [hyundai_kia_connect_api.KiaUvoApiAU] hyundai_kia_connect_api - get_cached_vehicle_status response: {'retCode': 'S', 'resCode': '0000', 'resMsg': {'airCtrlOn': False, 'engine': False, 'doorLock': True, 'doorOpen': {'frontLeft': 0, 'frontRight': 0, 'backLeft': 0, 'backRight': 0}, 'trunkOpen': False, 'airTemp': {'value': '00H', 'unit': 0, 'hvacTempType': 1}, 'defrost': False, 'lowFuelLight': False, 'acc': False, 'ign3': False, 'hoodOpen': False, 'transCond': True, 'steerWheelHeat': 0, 'sideBackWindowHeat': 0, 'dte': {'value': 146, 'unit': 1}, 'tirePressureLamp': {'tirePressureLampAll': 0, 'tirePressureLampFL': 0, 'tirePressureLampFR': 0, 'tirePressureLampRL': 0, 'tirePressureLampRR': 0}, 'seatHeaterVentState': {'drvSeatHeatState': 2, 'astSeatHeatState': 2, 'rlSeatHeatState': 2, 'rrSeatHeatState': 2}, 'battery': {'batSoc': 81, 'batState': 0, 'sjbDeliveryMode': 0, 'batSignalReferenceValue': {'batWarning': 0}, 'powerAutoCutMode': 2}, 'sunroofOpen': False, 'lampWireStatus': {'stopLamp': {'stopLampStatus': False, 'leftLamp': False, 'rightLamp': False}, 'headLamp': {'headLampStatus': False, 'leftLowLamp': False, 'rightLowLamp': False, 'leftHighLamp': False, 'rightHighLamp': False, 'leftBifuncLamp': False, 'rightBifuncLamp': False}, 'turnSignalLamp': {'turnSignalLampStatus': False, 'leftFrontLamp': False, 'rightFrontLamp': False, 'leftRearLamp': False, 'rightRearLamp': False}}, 'windowOpen': {'frontLeft': 0, 'frontRight': 0, 'backLeft': 0, 'backRight': 0}, 'smartKeyBatteryWarning': False, 'fuelLevel': 17, 'washerFluidStatus': False, 'breakOilStatus': False, 'engineOilStatus': False, 'sleepModeCheck': True, 'vehicleMovementHis': False, 'vehicleSlope': False, 'neutralPosition': False, 'parkingBrakeHighNotch': False, 'time': '20240917081218', 'remoteWaitingTimeAlert': {'remoteControlAvailable': 1, 'remoteControlWaitingTime': 168, 'elapsedTime': '00:10:20'}, 'systemCutOffAlert': 0, 'tailLampStatus': 0, 'hazardStatus': 0, 'deicer': False}, 'msgId': 'db0ba797-568e-4cc2-8834-108e2d7cc37b'}
  1299. 2024-09-17 16:09:03.101 DEBUG (SyncWorker_40) [hyundai_kia_connect_api.KiaUvoApiAU] hyundai_kia_connect_api - _get_location response: {'retCode': 'S', 'resCode': '0000', 'resMsg': {'coord': {'lat': -34.407692, 'lon': 150.878375, 'alt': 0, 'type': 0}, 'time': '20240917081211'}, 'msgId': '8ada049f-7d91-49dd-bf9d-4af7d008defb'}
  1300. 2024-09-17 16:09:03.102 DEBUG (SyncWorker_40) [hyundai_kia_connect_api.KiaUvoApiAU] hyundai_kia_connect_api - _get_location failed
  1301. 2024-09-17 16:09:03.103 DEBUG (SyncWorker_40) [hyundai_kia_connect_api.KiaUvoApiAU] hyundai_kia_connect_api - SOC Levels couldn't be found. May not be an EV.
  1302. 2024-09-17 16:09:03.108 ERROR (MainThread) [custom_components.kia_uvo.coordinator] Force update failed, falling back to cached: Traceback (most recent call last):
  1303. File "/config/custom_components/kia_uvo/coordinator.py", line 126, in _async_update_data
  1304. await self.hass.async_add_executor_job(
  1305. File "/usr/local/lib/python3.12/concurrent/futures/thread.py", line 58, in run
  1306. result = self.fn(*self.args, **self.kwargs)
  1307. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  1308. File "/usr/local/lib/python3.12/site-packages/hyundai_kia_connect_api/VehicleManager.py", line 115, in check_and_force_update_vehicles
  1309. self.update_vehicle_with_cached_state(vehicle_id)
  1310. File "/usr/local/lib/python3.12/site-packages/hyundai_kia_connect_api/VehicleManager.py", line 90, in update_vehicle_with_cached_state
  1311. self.api.update_vehicle_with_cached_state(self.token, vehicle)
  1312. File "/usr/local/lib/python3.12/site-packages/hyundai_kia_connect_api/KiaUvoApiAU.py", line 259, in update_vehicle_with_cached_state
  1313. self._update_vehicle_drive_info(vehicle, state)
  1314. ^^^^^
  1315. UnboundLocalError: cannot access local variable 'state' where it is not associated with a value
  1316. Traceback (most recent call last):
  1317. File "/config/custom_components/kia_uvo/coordinator.py", line 126, in _async_update_data
  1318. await self.hass.async_add_executor_job(
  1319. File "/usr/local/lib/python3.12/concurrent/futures/thread.py", line 58, in run
  1320. result = self.fn(*self.args, **self.kwargs)
  1321. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  1322. File "/usr/local/lib/python3.12/site-packages/hyundai_kia_connect_api/VehicleManager.py", line 115, in check_and_force_update_vehicles
  1323. self.update_vehicle_with_cached_state(vehicle_id)
  1324. File "/usr/local/lib/python3.12/site-packages/hyundai_kia_connect_api/VehicleManager.py", line 90, in update_vehicle_with_cached_state
  1325. self.api.update_vehicle_with_cached_state(self.token, vehicle)
  1326. File "/usr/local/lib/python3.12/site-packages/hyundai_kia_connect_api/KiaUvoApiAU.py", line 259, in update_vehicle_with_cached_state
  1327. self._update_vehicle_drive_info(vehicle, state)
  1328. ^^^^^
  1329. UnboundLocalError: cannot access local variable 'state' where it is not associated with a value
  1330. 2024-09-17 16:09:03.709 DEBUG (SyncWorker_10) [hyundai_kia_connect_api.KiaUvoApiAU] hyundai_kia_connect_api - get_cached_vehicle_status response: {'retCode': 'S', 'resCode': '0000', 'resMsg': {'airCtrlOn': False, 'engine': False, 'doorLock': True, 'doorOpen': {'frontLeft': 0, 'frontRight': 0, 'backLeft': 0, 'backRight': 0}, 'trunkOpen': False, 'airTemp': {'value': '00H', 'unit': 0, 'hvacTempType': 1}, 'defrost': False, 'lowFuelLight': False, 'acc': False, 'ign3': False, 'hoodOpen': False, 'transCond': True, 'steerWheelHeat': 0, 'sideBackWindowHeat': 0, 'dte': {'value': 146, 'unit': 1}, 'tirePressureLamp': {'tirePressureLampAll': 0, 'tirePressureLampFL': 0, 'tirePressureLampFR': 0, 'tirePressureLampRL': 0, 'tirePressureLampRR': 0}, 'seatHeaterVentState': {'drvSeatHeatState': 2, 'astSeatHeatState': 2, 'rlSeatHeatState': 2, 'rrSeatHeatState': 2}, 'battery': {'batSoc': 81, 'batState': 0, 'sjbDeliveryMode': 0, 'batSignalReferenceValue': {'batWarning': 0}, 'powerAutoCutMode': 2}, 'sunroofOpen': False, 'lampWireStatus': {'stopLamp': {'stopLampStatus': False, 'leftLamp': False, 'rightLamp': False}, 'headLamp': {'headLampStatus': False, 'leftLowLamp': False, 'rightLowLamp': False, 'leftHighLamp': False, 'rightHighLamp': False, 'leftBifuncLamp': False, 'rightBifuncLamp': False}, 'turnSignalLamp': {'turnSignalLampStatus': False, 'leftFrontLamp': False, 'rightFrontLamp': False, 'leftRearLamp': False, 'rightRearLamp': False}}, 'windowOpen': {'frontLeft': 0, 'frontRight': 0, 'backLeft': 0, 'backRight': 0}, 'smartKeyBatteryWarning': False, 'fuelLevel': 17, 'washerFluidStatus': False, 'breakOilStatus': False, 'engineOilStatus': False, 'sleepModeCheck': True, 'vehicleMovementHis': False, 'vehicleSlope': False, 'neutralPosition': False, 'parkingBrakeHighNotch': False, 'time': '20240917081218', 'remoteWaitingTimeAlert': {'remoteControlAvailable': 1, 'remoteControlWaitingTime': 168, 'elapsedTime': '00:10:20'}, 'systemCutOffAlert': 0, 'tailLampStatus': 0, 'hazardStatus': 0, 'deicer': False}, 'msgId': '45d595dc-9d93-4216-87ca-f2f2db674944'}
  1331. 2024-09-17 16:09:04.304 DEBUG (SyncWorker_10) [hyundai_kia_connect_api.KiaUvoApiAU] hyundai_kia_connect_api - _get_location response: {'retCode': 'S', 'resCode': '0000', 'resMsg': {'coord': {'lat': -34.407692, 'lon': 150.878375, 'alt': 0, 'type': 0}, 'time': '20240917081211'}, 'msgId': '37ef99c3-5f72-490a-8e89-82490962c49d'}
  1332. 2024-09-17 16:09:04.304 DEBUG (SyncWorker_10) [hyundai_kia_connect_api.KiaUvoApiAU] hyundai_kia_connect_api - _get_location failed
  1333. 2024-09-17 16:09:04.305 DEBUG (SyncWorker_10) [hyundai_kia_connect_api.KiaUvoApiAU] hyundai_kia_connect_api - SOC Levels couldn't be found. May not be an EV.
  1334. 2024-09-17 16:09:04.307 ERROR (MainThread) [custom_components.kia_uvo.coordinator] Cached update failed: Traceback (most recent call last):
  1335. File "/config/custom_components/kia_uvo/coordinator.py", line 126, in _async_update_data
  1336. await self.hass.async_add_executor_job(
  1337. File "/usr/local/lib/python3.12/concurrent/futures/thread.py", line 58, in run
  1338. result = self.fn(*self.args, **self.kwargs)
  1339. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  1340. File "/usr/local/lib/python3.12/site-packages/hyundai_kia_connect_api/VehicleManager.py", line 115, in check_and_force_update_vehicles
  1341. self.update_vehicle_with_cached_state(vehicle_id)
  1342. File "/usr/local/lib/python3.12/site-packages/hyundai_kia_connect_api/VehicleManager.py", line 90, in update_vehicle_with_cached_state
  1343. self.api.update_vehicle_with_cached_state(self.token, vehicle)
  1344. File "/usr/local/lib/python3.12/site-packages/hyundai_kia_connect_api/KiaUvoApiAU.py", line 259, in update_vehicle_with_cached_state
  1345. self._update_vehicle_drive_info(vehicle, state)
  1346. ^^^^^
  1347. UnboundLocalError: cannot access local variable 'state' where it is not associated with a value
  1348.  
  1349. During handling of the above exception, another exception occurred:
  1350.  
  1351. Traceback (most recent call last):
  1352. File "/config/custom_components/kia_uvo/coordinator.py", line 135, in _async_update_data
  1353. await self.hass.async_add_executor_job(
  1354. File "/usr/local/lib/python3.12/concurrent/futures/thread.py", line 58, in run
  1355. result = self.fn(*self.args, **self.kwargs)
  1356. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  1357. File "/usr/local/lib/python3.12/site-packages/hyundai_kia_connect_api/VehicleManager.py", line 85, in update_all_vehicles_with_cached_state
  1358. self.update_vehicle_with_cached_state(vehicle_id)
  1359. File "/usr/local/lib/python3.12/site-packages/hyundai_kia_connect_api/VehicleManager.py", line 90, in update_vehicle_with_cached_state
  1360. self.api.update_vehicle_with_cached_state(self.token, vehicle)
  1361. File "/usr/local/lib/python3.12/site-packages/hyundai_kia_connect_api/KiaUvoApiAU.py", line 259, in update_vehicle_with_cached_state
  1362. self._update_vehicle_drive_info(vehicle, state)
  1363. ^^^^^
  1364. UnboundLocalError: cannot access local variable 'state' where it is not associated with a value
  1365. Traceback (most recent call last):
  1366. File "/config/custom_components/kia_uvo/coordinator.py", line 126, in _async_update_data
  1367. await self.hass.async_add_executor_job(
  1368. File "/usr/local/lib/python3.12/concurrent/futures/thread.py", line 58, in run
  1369. result = self.fn(*self.args, **self.kwargs)
  1370. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  1371. File "/usr/local/lib/python3.12/site-packages/hyundai_kia_connect_api/VehicleManager.py", line 115, in check_and_force_update_vehicles
  1372. self.update_vehicle_with_cached_state(vehicle_id)
  1373. File "/usr/local/lib/python3.12/site-packages/hyundai_kia_connect_api/VehicleManager.py", line 90, in update_vehicle_with_cached_state
  1374. self.api.update_vehicle_with_cached_state(self.token, vehicle)
  1375. File "/usr/local/lib/python3.12/site-packages/hyundai_kia_connect_api/KiaUvoApiAU.py", line 259, in update_vehicle_with_cached_state
  1376. self._update_vehicle_drive_info(vehicle, state)
  1377. ^^^^^
  1378. UnboundLocalError: cannot access local variable 'state' where it is not associated with a value
  1379.  
  1380. During handling of the above exception, another exception occurred:
  1381.  
  1382. Traceback (most recent call last):
  1383. File "/config/custom_components/kia_uvo/coordinator.py", line 135, in _async_update_data
  1384. await self.hass.async_add_executor_job(
  1385. File "/usr/local/lib/python3.12/concurrent/futures/thread.py", line 58, in run
  1386. result = self.fn(*self.args, **self.kwargs)
  1387. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  1388. File "/usr/local/lib/python3.12/site-packages/hyundai_kia_connect_api/VehicleManager.py", line 85, in update_all_vehicles_with_cached_state
  1389. self.update_vehicle_with_cached_state(vehicle_id)
  1390. File "/usr/local/lib/python3.12/site-packages/hyundai_kia_connect_api/VehicleManager.py", line 90, in update_vehicle_with_cached_state
  1391. self.api.update_vehicle_with_cached_state(self.token, vehicle)
  1392. File "/usr/local/lib/python3.12/site-packages/hyundai_kia_connect_api/KiaUvoApiAU.py", line 259, in update_vehicle_with_cached_state
  1393. self._update_vehicle_drive_info(vehicle, state)
  1394. ^^^^^
  1395. UnboundLocalError: cannot access local variable 'state' where it is not associated with a value
  1396. 2024-09-17 16:09:04.312 DEBUG (MainThread) [custom_components.kia_uvo.coordinator] Finished fetching kia_uvo data in 6.077 seconds (success: False)
  1397. 2024-09-17 16:09:53.737 WARNING (SyncWorker_61) [urllib3.connectionpool] Connection pool is full, discarding connection: 192.168.1.222. Connection pool size: 10
  1398. 2024-09-17 16:09:53.917 WARNING (SyncWorker_17) [urllib3.connectionpool] Connection pool is full, discarding connection: 192.168.1.222. Connection pool size: 10
  1399. 2024-09-17 16:09:53.964 WARNING (SyncWorker_39) [urllib3.connectionpool] Connection pool is full, discarding connection: 192.168.1.222. Connection pool size: 10
  1400. 2024-09-17 16:09:55.673 ERROR (MainThread) [custom_components.spotcast.spotcast_controller] Unsuccessful token request, received code 302 and Location header /get_access_token?reason=transport&productType=web_player&_authfailed=1. sp_dc and sp_key could be expired. Please update in config.
  1401. 2024-09-17 16:09:55.678 ERROR (MainThread) [homeassistant.helpers.entity] Update for sensor.playlists_sensor fails
  1402. Traceback (most recent call last):
  1403. File "/config/custom_components/spotcast/spotcast_controller.py", line 169, in get_spotify_token
  1404. ).result()
  1405. ^^^^^^^^
  1406. File "/usr/local/lib/python3.12/concurrent/futures/_base.py", line 456, in result
  1407. return self.__get_result()
  1408. ^^^^^^^^^^^^^^^^^^^
  1409. File "/usr/local/lib/python3.12/concurrent/futures/_base.py", line 401, in __get_result
  1410. raise self._exception
  1411. File "/config/custom_components/spotcast/spotcast_controller.py", line 214, in start_session
  1412. raise HomeAssistantError("Expired sp_dc, sp_key")
  1413. homeassistant.exceptions.HomeAssistantError: Expired sp_dc, sp_key
  1414.  
  1415. During handling of the above exception, another exception occurred:
  1416.  
  1417. Traceback (most recent call last):
  1418. File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 942, in async_update_ha_state
  1419. await self.async_device_update()
  1420. File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1302, in async_device_update
  1421. await hass.async_add_executor_job(self.update)
  1422. File "/usr/local/lib/python3.12/concurrent/futures/thread.py", line 58, in run
  1423. result = self.fn(*self.args, **self.kwargs)
  1424. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  1425. File "/config/custom_components/spotcast/sensor.py", line 118, in update
  1426. resp = self.hass.data[DOMAIN]["controller"].get_playlists(
  1427. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  1428. File "/config/custom_components/spotcast/spotcast_controller.py", line 384, in get_playlists
  1429. client = self.get_spotify_client(account)
  1430. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  1431. File "/config/custom_components/spotcast/spotcast_controller.py", line 265, in get_spotify_client
  1432. return spotipy.Spotify(auth=self.get_token_instance(account).access_token)
  1433. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  1434. File "/config/custom_components/spotcast/spotcast_controller.py", line 161, in access_token
  1435. self.ensure_token_valid()
  1436. File "/config/custom_components/spotcast/spotcast_controller.py", line 157, in ensure_token_valid
  1437. self.get_spotify_token()
  1438. File "/config/custom_components/spotcast/spotcast_controller.py", line 179, in get_spotify_token
  1439. raise HomeAssistantError("Could not get spotify token.")
  1440. homeassistant.exceptions.HomeAssistantError: Could not get spotify token.
  1441. 2024-09-17 16:10:24.642 DEBUG (SyncWorker_10) [hyundai_kia_connect_api.KiaUvoApiAU] hyundai_kia_connect_api - Get Device ID request: {'ccsp-service-id': '855c72df-dfd7-4230-ab03-67cbf902bb1c', 'ccsp-application-id': 'f9ccfdac-a48d-4c57-bd32-9116963c24ed', 'Stamp': 'MZR18y/WJGWtH4R9s4CDnIE8xgFHHmTvJOMcLQ0DsPfNsizuovRkWvfa1PGy/DQ=', 'Content-Type': 'application/json;charset=UTF-8', 'Host': 'au-apigw.ccs.hyundai.com.au:8080', 'Connection': 'Keep-Alive', 'Accept-Encoding': 'gzip', 'User-Agent': 'okhttp/3.12.0'} {'pushRegId': '177184be284f39688bd6a07bf56c16568582875596d0fc33db74d337e7a5d4d9', 'pushType': 'GCM', 'uuid': 'b301fa25-2d97-483d-a61a-3001aed55533'}
  1442. 2024-09-17 16:10:25.271 DEBUG (SyncWorker_10) [hyundai_kia_connect_api.KiaUvoApiAU] hyundai_kia_connect_api - Get Device ID response: {'retCode': 'S', 'resCode': '0000', 'resMsg': {'deviceId': '9856e92f-5e6e-4b78-8d3d-3804896361ea'}, 'msgId': 'd3dff32d-fa38-42f0-bb01-d879d1f63399'}
  1443. 2024-09-17 16:10:25.271 DEBUG (SyncWorker_10) [hyundai_kia_connect_api.KiaUvoApiAU] hyundai_kia_connect_api - Get cookies request: https://au-apigw.ccs.hyundai.com.au:8080/api/v1/user/oauth2/authorize?response_type=code&client_id=855c72df-dfd7-4230-ab03-67cbf902bb1c&redirect_uri=https://au-apigw.ccs.hyundai.com.au:8080/api/v1/user/oauth2/redirect&lang=en
  1444. 2024-09-17 16:10:25.978 DEBUG (SyncWorker_10) [hyundai_kia_connect_api.KiaUvoApiAU] hyundai_kia_connect_api - Get cookies response: {'account': 'MTljMjU1MmYtZGJhYS00MWExLTkxYjAtODI2ODJiMDU0ZTBl.57e545e58fab3ef51366ed3d205bfabd41d992f8'}
  1445. 2024-09-17 16:10:26.607 DEBUG (SyncWorker_10) [hyundai_kia_connect_api.KiaUvoApiAU] hyundai_kia_connect_api - Sign In Response: {'redirectUrl': 'https://au-apigw.ccs.hyundai.com.au:8080/api/v1/user/oauth2/redirect?code=B95-FQK7M6WAHMD5WJ8SDQ', 'popup': False, 'method': '', 'upgrade': False, 'integrated': False, 'deleteAccountLink': ''}
  1446. 2024-09-17 16:10:26.607 DEBUG (SyncWorker_10) [hyundai_kia_connect_api.KiaUvoApiAU] hyundai_kia_connect_api - Get Access Token Data: {'Authorization': 'Basic ODU1YzcyZGYtZGZkNy00MjMwLWFiMDMtNjdjYmY5MDJiYjFjOmU2ZmJ3SE0zMllOYmhRbDBwdmlhUHAzcmY0dDNTNms5MWVjZUEzTUpMZGJkVGhDTw==', 'Stamp': 'MZR18y/WJGWtH4R9s4CDnIE8xgFHHmTvJOMcLQ0DsPfNsizuovRkWvfa1PGy/DQ=', 'Content-type': 'application/x-www-form-urlencoded', 'Host': 'au-apigw.ccs.hyundai.com.au:8080', 'Connection': 'close', 'Accept-Encoding': 'gzip, deflate', 'User-Agent': 'okhttp/3.12.0'}grant_type=authorization_code&redirect_uri=https%3A%2F%2Fau-apigw.ccs.hyundai.com.au:8080%2Fapi%2Fv1%2Fuser%2Foauth2%2Fredirect&code=B95-FQK7M6WAHMD5WJ8SDQ
  1447. 2024-09-17 16:10:27.180 DEBUG (SyncWorker_10) [hyundai_kia_connect_api.KiaUvoApiAU] hyundai_kia_connect_api - Get Access Token Response: {'access_token': 'eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJwaWQiOiI1YjdjYzgzZTI0OTA5MjI1MDQyNmFhMjciLCJ1aWQiOiJkNjIwNzk0YS1kZTVkLTRjODYtYWFlMy1lOTE4ZGJiNjRiMTUiLCJzaWQiOiI4NTVjNzJkZi1kZmQ3LTQyMzAtYWIwMy02N2NiZjkwMmJiMWMiLCJleHAiOjE3MjY2Mzk4MjcsImlhdCI6MTcyNjU1MzQyNywiaXNzIjoiYmx1ZWxpbmsifQ.Wr0MzNr7LtaJo_uhQCIpOQKExsP1dEUURMq6b9vJYy5PIHqdfa2CgJXle999h2RFdQynKGfU7g3K-Nn3xLfwc2IjM50KSjogzUwRq-I9OUStTXKF741fnFigOQMNGDtI2UfrkL79jJpH5iLeE7TI_E8PlrPMkjnTEk8vpu8EqLpeYkWJvjTvEgnkoLta_3wlWyjRIuKKGlJbufwzFo3kdtmW37D1ixvC_k3neu0XCwh4blHNNjZT8TMlMaA7axbj4ckmqX_LibeIyS6-uZ3uiS3ggyLjcr8EOovUiPxpyjS2qF8Vn-zSFrW2njrKLLKvl7B6UFhSYsmbnZTNm5Dd4Q', 'token_type': 'Bearer', 'refresh_token': 'Q5KRJ2_LWWSRXLHUB6AJTW', 'expires_in': 86400}
  1448. 2024-09-17 16:10:27.180 DEBUG (SyncWorker_10) [hyundai_kia_connect_api.KiaUvoApiAU] hyundai_kia_connect_api - Access Token Value Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJwaWQiOiI1YjdjYzgzZTI0OTA5MjI1MDQyNmFhMjciLCJ1aWQiOiJkNjIwNzk0YS1kZTVkLTRjODYtYWFlMy1lOTE4ZGJiNjRiMTUiLCJzaWQiOiI4NTVjNzJkZi1kZmQ3LTQyMzAtYWIwMy02N2NiZjkwMmJiMWMiLCJleHAiOjE3MjY2Mzk4MjcsImlhdCI6MTcyNjU1MzQyNywiaXNzIjoiYmx1ZWxpbmsifQ.Wr0MzNr7LtaJo_uhQCIpOQKExsP1dEUURMq6b9vJYy5PIHqdfa2CgJXle999h2RFdQynKGfU7g3K-Nn3xLfwc2IjM50KSjogzUwRq-I9OUStTXKF741fnFigOQMNGDtI2UfrkL79jJpH5iLeE7TI_E8PlrPMkjnTEk8vpu8EqLpeYkWJvjTvEgnkoLta_3wlWyjRIuKKGlJbufwzFo3kdtmW37D1ixvC_k3neu0XCwh4blHNNjZT8TMlMaA7axbj4ckmqX_LibeIyS6-uZ3uiS3ggyLjcr8EOovUiPxpyjS2qF8Vn-zSFrW2njrKLLKvl7B6UFhSYsmbnZTNm5Dd4Q
  1449. 2024-09-17 16:10:27.180 DEBUG (SyncWorker_10) [hyundai_kia_connect_api.KiaUvoApiAU] hyundai_kia_connect_api - Get Refresh Token Data: grant_type=refresh_token&refresh_token=Q5KRJ2_LWWSRXLHUB6AJTW
  1450. 2024-09-17 16:10:27.757 DEBUG (SyncWorker_10) [hyundai_kia_connect_api.KiaUvoApiAU] hyundai_kia_connect_api - Get Refresh Token Response: {'access_token': 'eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJwaWQiOiI1YjdjYzgzZTI0OTA5MjI1MDQyNmFhMjciLCJ1aWQiOiJkNjIwNzk0YS1kZTVkLTRjODYtYWFlMy1lOTE4ZGJiNjRiMTUiLCJzaWQiOiI4NTVjNzJkZi1kZmQ3LTQyMzAtYWIwMy02N2NiZjkwMmJiMWMiLCJleHAiOjE3MjY2Mzk4MjcsImlhdCI6MTcyNjU1MzQyNywiaXNzIjoiYmx1ZWxpbmsifQ.Wr0MzNr7LtaJo_uhQCIpOQKExsP1dEUURMq6b9vJYy5PIHqdfa2CgJXle999h2RFdQynKGfU7g3K-Nn3xLfwc2IjM50KSjogzUwRq-I9OUStTXKF741fnFigOQMNGDtI2UfrkL79jJpH5iLeE7TI_E8PlrPMkjnTEk8vpu8EqLpeYkWJvjTvEgnkoLta_3wlWyjRIuKKGlJbufwzFo3kdtmW37D1ixvC_k3neu0XCwh4blHNNjZT8TMlMaA7axbj4ckmqX_LibeIyS6-uZ3uiS3ggyLjcr8EOovUiPxpyjS2qF8Vn-zSFrW2njrKLLKvl7B6UFhSYsmbnZTNm5Dd4Q', 'token_type': 'Bearer', 'expires_in': 86400}
  1451. 2024-09-17 16:10:28.360 DEBUG (SyncWorker_10) [hyundai_kia_connect_api.KiaUvoApiAU] hyundai_kia_connect_api - Get Vehicles Response: {'retCode': 'S', 'resCode': '0000', 'resMsg': {'vehicles': [{'vin': 'KMHR781ASRU715759', 'vehicleId': 'e998e7f5-8a79-43a1-9aab-a642c66e0426', 'vehicleName': 'PALISADE 19/22', 'type': 'GN', 'tmuNum': '-', 'nickname': 'PALISADE', 'year': '2024', 'master': False, 'carShare': -1, 'regDate': '2024-01-18 20:00:15.569', 'detailInfo': {'inColor': 'NKE', 'outColor': 'WC9', 'bodyType': '3', 'saleCarmdlCd': 'S8', 'prodCarmdlCd': 'S8', 'saleCarmdlEnNm': 'PALISADE'}, 'protocolType': 0, 'ccuCCS2ProtocolSupport': 0}]}, 'msgId': '258c5285-a8dd-48db-a86e-b06cd5b1f3a4'}
  1452. 2024-09-17 16:10:28.965 DEBUG (SyncWorker_4) [hyundai_kia_connect_api.KiaUvoApiAU] hyundai_kia_connect_api - get_cached_vehicle_status response: {'retCode': 'S', 'resCode': '0000', 'resMsg': {'airCtrlOn': False, 'engine': False, 'doorLock': True, 'doorOpen': {'frontLeft': 0, 'frontRight': 0, 'backLeft': 0, 'backRight': 0}, 'trunkOpen': False, 'airTemp': {'value': '00H', 'unit': 0, 'hvacTempType': 1}, 'defrost': False, 'lowFuelLight': False, 'acc': False, 'ign3': False, 'hoodOpen': False, 'transCond': True, 'steerWheelHeat': 0, 'sideBackWindowHeat': 0, 'dte': {'value': 146, 'unit': 1}, 'tirePressureLamp': {'tirePressureLampAll': 0, 'tirePressureLampFL': 0, 'tirePressureLampFR': 0, 'tirePressureLampRL': 0, 'tirePressureLampRR': 0}, 'seatHeaterVentState': {'drvSeatHeatState': 2, 'astSeatHeatState': 2, 'rlSeatHeatState': 2, 'rrSeatHeatState': 2}, 'battery': {'batSoc': 81, 'batState': 0, 'sjbDeliveryMode': 0, 'batSignalReferenceValue': {'batWarning': 0}, 'powerAutoCutMode': 2}, 'sunroofOpen': False, 'lampWireStatus': {'stopLamp': {'stopLampStatus': False, 'leftLamp': False, 'rightLamp': False}, 'headLamp': {'headLampStatus': False, 'leftLowLamp': False, 'rightLowLamp': False, 'leftHighLamp': False, 'rightHighLamp': False, 'leftBifuncLamp': False, 'rightBifuncLamp': False}, 'turnSignalLamp': {'turnSignalLampStatus': False, 'leftFrontLamp': False, 'rightFrontLamp': False, 'leftRearLamp': False, 'rightRearLamp': False}}, 'windowOpen': {'frontLeft': 0, 'frontRight': 0, 'backLeft': 0, 'backRight': 0}, 'smartKeyBatteryWarning': False, 'fuelLevel': 17, 'washerFluidStatus': False, 'breakOilStatus': False, 'engineOilStatus': False, 'sleepModeCheck': True, 'vehicleMovementHis': False, 'vehicleSlope': False, 'neutralPosition': False, 'parkingBrakeHighNotch': False, 'time': '20240917081218', 'remoteWaitingTimeAlert': {'remoteControlAvailable': 1, 'remoteControlWaitingTime': 168, 'elapsedTime': '00:10:20'}, 'systemCutOffAlert': 0, 'tailLampStatus': 0, 'hazardStatus': 0, 'deicer': False}, 'msgId': '3794c754-c0c2-4467-9a60-fc481688b195'}
  1453. 2024-09-17 16:10:29.566 DEBUG (SyncWorker_4) [hyundai_kia_connect_api.KiaUvoApiAU] hyundai_kia_connect_api - _get_location response: {'retCode': 'S', 'resCode': '0000', 'resMsg': {'coord': {'lat': -34.407692, 'lon': 150.878375, 'alt': 0, 'type': 0}, 'time': '20240917081211'}, 'msgId': '3bde3467-e3e7-46a2-bcae-0059455eb748'}
  1454. 2024-09-17 16:10:29.566 DEBUG (SyncWorker_4) [hyundai_kia_connect_api.KiaUvoApiAU] hyundai_kia_connect_api - _get_location failed
  1455. 2024-09-17 16:10:29.567 DEBUG (SyncWorker_4) [hyundai_kia_connect_api.KiaUvoApiAU] hyundai_kia_connect_api - SOC Levels couldn't be found. May not be an EV.
  1456. 2024-09-17 16:10:29.570 ERROR (MainThread) [custom_components.kia_uvo.coordinator] Force update failed, falling back to cached: Traceback (most recent call last):
  1457. File "/config/custom_components/kia_uvo/coordinator.py", line 126, in _async_update_data
  1458. await self.hass.async_add_executor_job(
  1459. File "/usr/local/lib/python3.12/concurrent/futures/thread.py", line 58, in run
  1460. result = self.fn(*self.args, **self.kwargs)
  1461. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  1462. File "/usr/local/lib/python3.12/site-packages/hyundai_kia_connect_api/VehicleManager.py", line 115, in check_and_force_update_vehicles
  1463. self.update_vehicle_with_cached_state(vehicle_id)
  1464. File "/usr/local/lib/python3.12/site-packages/hyundai_kia_connect_api/VehicleManager.py", line 90, in update_vehicle_with_cached_state
  1465. self.api.update_vehicle_with_cached_state(self.token, vehicle)
  1466. File "/usr/local/lib/python3.12/site-packages/hyundai_kia_connect_api/KiaUvoApiAU.py", line 259, in update_vehicle_with_cached_state
  1467. self._update_vehicle_drive_info(vehicle, state)
  1468. ^^^^^
  1469. UnboundLocalError: cannot access local variable 'state' where it is not associated with a value
  1470. Traceback (most recent call last):
  1471. File "/config/custom_components/kia_uvo/coordinator.py", line 126, in _async_update_data
  1472. await self.hass.async_add_executor_job(
  1473. File "/usr/local/lib/python3.12/concurrent/futures/thread.py", line 58, in run
  1474. result = self.fn(*self.args, **self.kwargs)
  1475. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  1476. File "/usr/local/lib/python3.12/site-packages/hyundai_kia_connect_api/VehicleManager.py", line 115, in check_and_force_update_vehicles
  1477. self.update_vehicle_with_cached_state(vehicle_id)
  1478. File "/usr/local/lib/python3.12/site-packages/hyundai_kia_connect_api/VehicleManager.py", line 90, in update_vehicle_with_cached_state
  1479. self.api.update_vehicle_with_cached_state(self.token, vehicle)
  1480. File "/usr/local/lib/python3.12/site-packages/hyundai_kia_connect_api/KiaUvoApiAU.py", line 259, in update_vehicle_with_cached_state
  1481. self._update_vehicle_drive_info(vehicle, state)
  1482. ^^^^^
  1483. UnboundLocalError: cannot access local variable 'state' where it is not associated with a value
  1484. 2024-09-17 16:10:30.169 DEBUG (SyncWorker_54) [hyundai_kia_connect_api.KiaUvoApiAU] hyundai_kia_connect_api - get_cached_vehicle_status response: {'retCode': 'S', 'resCode': '0000', 'resMsg': {'airCtrlOn': False, 'engine': False, 'doorLock': True, 'doorOpen': {'frontLeft': 0, 'frontRight': 0, 'backLeft': 0, 'backRight': 0}, 'trunkOpen': False, 'airTemp': {'value': '00H', 'unit': 0, 'hvacTempType': 1}, 'defrost': False, 'lowFuelLight': False, 'acc': False, 'ign3': False, 'hoodOpen': False, 'transCond': True, 'steerWheelHeat': 0, 'sideBackWindowHeat': 0, 'dte': {'value': 146, 'unit': 1}, 'tirePressureLamp': {'tirePressureLampAll': 0, 'tirePressureLampFL': 0, 'tirePressureLampFR': 0, 'tirePressureLampRL': 0, 'tirePressureLampRR': 0}, 'seatHeaterVentState': {'drvSeatHeatState': 2, 'astSeatHeatState': 2, 'rlSeatHeatState': 2, 'rrSeatHeatState': 2}, 'battery': {'batSoc': 81, 'batState': 0, 'sjbDeliveryMode': 0, 'batSignalReferenceValue': {'batWarning': 0}, 'powerAutoCutMode': 2}, 'sunroofOpen': False, 'lampWireStatus': {'stopLamp': {'stopLampStatus': False, 'leftLamp': False, 'rightLamp': False}, 'headLamp': {'headLampStatus': False, 'leftLowLamp': False, 'rightLowLamp': False, 'leftHighLamp': False, 'rightHighLamp': False, 'leftBifuncLamp': False, 'rightBifuncLamp': False}, 'turnSignalLamp': {'turnSignalLampStatus': False, 'leftFrontLamp': False, 'rightFrontLamp': False, 'leftRearLamp': False, 'rightRearLamp': False}}, 'windowOpen': {'frontLeft': 0, 'frontRight': 0, 'backLeft': 0, 'backRight': 0}, 'smartKeyBatteryWarning': False, 'fuelLevel': 17, 'washerFluidStatus': False, 'breakOilStatus': False, 'engineOilStatus': False, 'sleepModeCheck': True, 'vehicleMovementHis': False, 'vehicleSlope': False, 'neutralPosition': False, 'parkingBrakeHighNotch': False, 'time': '20240917081218', 'remoteWaitingTimeAlert': {'remoteControlAvailable': 1, 'remoteControlWaitingTime': 168, 'elapsedTime': '00:10:20'}, 'systemCutOffAlert': 0, 'tailLampStatus': 0, 'hazardStatus': 0, 'deicer': False}, 'msgId': 'ec347a4e-b694-4c7b-8204-f1aa2090649e'}
  1485. 2024-09-17 16:10:30.770 DEBUG (SyncWorker_54) [hyundai_kia_connect_api.KiaUvoApiAU] hyundai_kia_connect_api - _get_location response: {'retCode': 'S', 'resCode': '0000', 'resMsg': {'coord': {'lat': -34.407692, 'lon': 150.878375, 'alt': 0, 'type': 0}, 'time': '20240917081211'}, 'msgId': 'f29b3cb6-818c-4d9b-b06a-1a4e0ecf574d'}
  1486. 2024-09-17 16:10:30.770 DEBUG (SyncWorker_54) [hyundai_kia_connect_api.KiaUvoApiAU] hyundai_kia_connect_api - _get_location failed
  1487. 2024-09-17 16:10:30.771 DEBUG (SyncWorker_54) [hyundai_kia_connect_api.KiaUvoApiAU] hyundai_kia_connect_api - SOC Levels couldn't be found. May not be an EV.
  1488. 2024-09-17 16:10:30.780 ERROR (MainThread) [custom_components.kia_uvo.coordinator] Cached update failed: Traceback (most recent call last):
  1489. File "/config/custom_components/kia_uvo/coordinator.py", line 126, in _async_update_data
  1490. await self.hass.async_add_executor_job(
  1491. File "/usr/local/lib/python3.12/concurrent/futures/thread.py", line 58, in run
  1492. result = self.fn(*self.args, **self.kwargs)
  1493. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  1494. File "/usr/local/lib/python3.12/site-packages/hyundai_kia_connect_api/VehicleManager.py", line 115, in check_and_force_update_vehicles
  1495. self.update_vehicle_with_cached_state(vehicle_id)
  1496. File "/usr/local/lib/python3.12/site-packages/hyundai_kia_connect_api/VehicleManager.py", line 90, in update_vehicle_with_cached_state
  1497. self.api.update_vehicle_with_cached_state(self.token, vehicle)
  1498. File "/usr/local/lib/python3.12/site-packages/hyundai_kia_connect_api/KiaUvoApiAU.py", line 259, in update_vehicle_with_cached_state
  1499. self._update_vehicle_drive_info(vehicle, state)
  1500. ^^^^^
  1501. UnboundLocalError: cannot access local variable 'state' where it is not associated with a value
  1502.  
  1503. During handling of the above exception, another exception occurred:
  1504.  
  1505. Traceback (most recent call last):
  1506. File "/config/custom_components/kia_uvo/coordinator.py", line 135, in _async_update_data
  1507. await self.hass.async_add_executor_job(
  1508. File "/usr/local/lib/python3.12/concurrent/futures/thread.py", line 58, in run
  1509. result = self.fn(*self.args, **self.kwargs)
  1510. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  1511. File "/usr/local/lib/python3.12/site-packages/hyundai_kia_connect_api/VehicleManager.py", line 85, in update_all_vehicles_with_cached_state
  1512. self.update_vehicle_with_cached_state(vehicle_id)
  1513. File "/usr/local/lib/python3.12/site-packages/hyundai_kia_connect_api/VehicleManager.py", line 90, in update_vehicle_with_cached_state
  1514. self.api.update_vehicle_with_cached_state(self.token, vehicle)
  1515. File "/usr/local/lib/python3.12/site-packages/hyundai_kia_connect_api/KiaUvoApiAU.py", line 259, in update_vehicle_with_cached_state
  1516. self._update_vehicle_drive_info(vehicle, state)
  1517. ^^^^^
  1518. UnboundLocalError: cannot access local variable 'state' where it is not associated with a value
  1519. Traceback (most recent call last):
  1520. File "/config/custom_components/kia_uvo/coordinator.py", line 126, in _async_update_data
  1521. await self.hass.async_add_executor_job(
  1522. File "/usr/local/lib/python3.12/concurrent/futures/thread.py", line 58, in run
  1523. result = self.fn(*self.args, **self.kwargs)
  1524. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  1525. File "/usr/local/lib/python3.12/site-packages/hyundai_kia_connect_api/VehicleManager.py", line 115, in check_and_force_update_vehicles
  1526. self.update_vehicle_with_cached_state(vehicle_id)
  1527. File "/usr/local/lib/python3.12/site-packages/hyundai_kia_connect_api/VehicleManager.py", line 90, in update_vehicle_with_cached_state
  1528. self.api.update_vehicle_with_cached_state(self.token, vehicle)
  1529. File "/usr/local/lib/python3.12/site-packages/hyundai_kia_connect_api/KiaUvoApiAU.py", line 259, in update_vehicle_with_cached_state
  1530. self._update_vehicle_drive_info(vehicle, state)
  1531. ^^^^^
  1532. UnboundLocalError: cannot access local variable 'state' where it is not associated with a value
  1533.  
  1534. During handling of the above exception, another exception occurred:
  1535.  
  1536. Traceback (most recent call last):
  1537. File "/config/custom_components/kia_uvo/coordinator.py", line 135, in _async_update_data
  1538. await self.hass.async_add_executor_job(
  1539. File "/usr/local/lib/python3.12/concurrent/futures/thread.py", line 58, in run
  1540. result = self.fn(*self.args, **self.kwargs)
  1541. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  1542. File "/usr/local/lib/python3.12/site-packages/hyundai_kia_connect_api/VehicleManager.py", line 85, in update_all_vehicles_with_cached_state
  1543. self.update_vehicle_with_cached_state(vehicle_id)
  1544. File "/usr/local/lib/python3.12/site-packages/hyundai_kia_connect_api/VehicleManager.py", line 90, in update_vehicle_with_cached_state
  1545. self.api.update_vehicle_with_cached_state(self.token, vehicle)
  1546. File "/usr/local/lib/python3.12/site-packages/hyundai_kia_connect_api/KiaUvoApiAU.py", line 259, in update_vehicle_with_cached_state
  1547. self._update_vehicle_drive_info(vehicle, state)
  1548. ^^^^^
  1549. UnboundLocalError: cannot access local variable 'state' where it is not associated with a value
  1550. 2024-09-17 16:10:30.787 DEBUG (MainThread) [custom_components.kia_uvo.coordinator] Finished fetching kia_uvo data in 6.146 seconds (success: False)
  1551. 2024-09-17 16:10:53.767 WARNING (SyncWorker_52) [urllib3.connectionpool] Connection pool is full, discarding connection: 192.168.1.222. Connection pool size: 10
  1552. 2024-09-17 16:10:53.789 WARNING (SyncWorker_29) [urllib3.connectionpool] Connection pool is full, discarding connection: 192.168.1.222. Connection pool size: 10
  1553. 2024-09-17 16:10:53.814 WARNING (SyncWorker_19) [urllib3.connectionpool] Connection pool is full, discarding connection: 192.168.1.222. Connection pool size: 10
  1554. 2024-09-17 16:10:53.839 WARNING (SyncWorker_15) [urllib3.connectionpool] Connection pool is full, discarding connection: 192.168.1.222. Connection pool size: 10
  1555. 2024-09-17 16:10:55.740 ERROR (MainThread) [custom_components.spotcast.spotcast_controller] Unsuccessful token request, received code 302 and Location header /get_access_token?reason=transport&productType=web_player&_authfailed=1. sp_dc and sp_key could be expired. Please update in config.
  1556. 2024-09-17 16:10:55.742 ERROR (MainThread) [homeassistant.helpers.entity] Update for sensor.playlists_sensor fails
  1557. Traceback (most recent call last):
  1558. File "/config/custom_components/spotcast/spotcast_controller.py", line 169, in get_spotify_token
  1559. ).result()
  1560. ^^^^^^^^
  1561. File "/usr/local/lib/python3.12/concurrent/futures/_base.py", line 456, in result
  1562. return self.__get_result()
  1563. ^^^^^^^^^^^^^^^^^^^
  1564. File "/usr/local/lib/python3.12/concurrent/futures/_base.py", line 401, in __get_result
  1565. raise self._exception
  1566. File "/config/custom_components/spotcast/spotcast_controller.py", line 214, in start_session
  1567. raise HomeAssistantError("Expired sp_dc, sp_key")
  1568. homeassistant.exceptions.HomeAssistantError: Expired sp_dc, sp_key
  1569.  
  1570. During handling of the above exception, another exception occurred:
  1571.  
  1572. Traceback (most recent call last):
  1573. File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 942, in async_update_ha_state
  1574. await self.async_device_update()
  1575. File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1302, in async_device_update
  1576. await hass.async_add_executor_job(self.update)
  1577. File "/usr/local/lib/python3.12/concurrent/futures/thread.py", line 58, in run
  1578. result = self.fn(*self.args, **self.kwargs)
  1579. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  1580. File "/config/custom_components/spotcast/sensor.py", line 118, in update
  1581. resp = self.hass.data[DOMAIN]["controller"].get_playlists(
  1582. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  1583. File "/config/custom_components/spotcast/spotcast_controller.py", line 384, in get_playlists
  1584. client = self.get_spotify_client(account)
  1585. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  1586. File "/config/custom_components/spotcast/spotcast_controller.py", line 265, in get_spotify_client
  1587. return spotipy.Spotify(auth=self.get_token_instance(account).access_token)
  1588. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  1589. File "/config/custom_components/spotcast/spotcast_controller.py", line 161, in access_token
  1590. self.ensure_token_valid()
  1591. File "/config/custom_components/spotcast/spotcast_controller.py", line 157, in ensure_token_valid
  1592. self.get_spotify_token()
  1593. File "/config/custom_components/spotcast/spotcast_controller.py", line 179, in get_spotify_token
  1594. raise HomeAssistantError("Could not get spotify token.")
  1595. homeassistant.exceptions.HomeAssistantError: Could not get spotify token.
  1596. 2024-09-17 16:11:16.469 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [140415677716448] Error handling message: Unknown error (unknown_error) Chris from xxx.xxx.xxx.xxx (Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36)
  1597. Traceback (most recent call last):
  1598. File "/usr/src/homeassistant/homeassistant/components/websocket_api/decorators.py", line 28, in _handle_async_response
  1599. await func(hass, connection, msg)
  1600. File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 537, in handle_manifest_list
  1601. raise int_or_exc
  1602. homeassistant.loader.IntegrationNotFound: Integration 'alarmo' not found.
  1603. 2024-09-17 16:11:51.055 DEBUG (SyncWorker_59) [hyundai_kia_connect_api.KiaUvoApiAU] hyundai_kia_connect_api - Get Device ID request: {'ccsp-service-id': '855c72df-dfd7-4230-ab03-67cbf902bb1c', 'ccsp-application-id': 'f9ccfdac-a48d-4c57-bd32-9116963c24ed', 'Stamp': 'MZR18y/WJGWtH4R9s4CDnIE8xgFHHmTvJOMcLQ0DsPfNsizuovRkWvfa1PGz/zE=', 'Content-Type': 'application/json;charset=UTF-8', 'Host': 'au-apigw.ccs.hyundai.com.au:8080', 'Connection': 'Keep-Alive', 'Accept-Encoding': 'gzip', 'User-Agent': 'okhttp/3.12.0'} {'pushRegId': '15d343907d18344cdb50564ab72c1fa4558f50744d96aeabd6137ef6cd4b8a98', 'pushType': 'GCM', 'uuid': '47aeec78-efa0-49f3-b7ba-72e4d1af53a0'}
  1604. 2024-09-17 16:11:51.647 DEBUG (SyncWorker_59) [hyundai_kia_connect_api.KiaUvoApiAU] hyundai_kia_connect_api - Get Device ID response: {'retCode': 'S', 'resCode': '0000', 'resMsg': {'deviceId': 'ef9eb731-6e08-4367-b88e-a7dfed4c6de5'}, 'msgId': 'eb659dd8-32e2-4935-b2be-744f7d3477e8'}
  1605. 2024-09-17 16:11:51.647 DEBUG (SyncWorker_59) [hyundai_kia_connect_api.KiaUvoApiAU] hyundai_kia_connect_api - Get cookies request: https://au-apigw.ccs.hyundai.com.au:8080/api/v1/user/oauth2/authorize?response_type=code&client_id=855c72df-dfd7-4230-ab03-67cbf902bb1c&redirect_uri=https://au-apigw.ccs.hyundai.com.au:8080/api/v1/user/oauth2/redirect&lang=en
  1606. 2024-09-17 16:11:52.360 DEBUG (SyncWorker_59) [hyundai_kia_connect_api.KiaUvoApiAU] hyundai_kia_connect_api - Get cookies response: {'account': 'MWRjZjA1OWEtZGYyZC00Y2QwLTgyOGMtY2FmMGJkOGFhYzdm.3a99a386fb4a4485d86754553a3244575eb0e3a6'}
  1607. 2024-09-17 16:11:52.992 DEBUG (SyncWorker_59) [hyundai_kia_connect_api.KiaUvoApiAU] hyundai_kia_connect_api - Sign In Response: {'redirectUrl': 'https://au-apigw.ccs.hyundai.com.au:8080/api/v1/user/oauth2/redirect?code=KDTTTMYJPEIU5WLHRCWVBG', 'popup': False, 'method': '', 'upgrade': False, 'integrated': False, 'deleteAccountLink': ''}
  1608. 2024-09-17 16:11:52.992 DEBUG (SyncWorker_59) [hyundai_kia_connect_api.KiaUvoApiAU] hyundai_kia_connect_api - Get Access Token Data: {'Authorization': 'Basic ODU1YzcyZGYtZGZkNy00MjMwLWFiMDMtNjdjYmY5MDJiYjFjOmU2ZmJ3SE0zMllOYmhRbDBwdmlhUHAzcmY0dDNTNms5MWVjZUEzTUpMZGJkVGhDTw==', 'Stamp': 'MZR18y/WJGWtH4R9s4CDnIE8xgFHHmTvJOMcLQ0DsPfNsizuovRkWvfa1PGz/zE=', 'Content-type': 'application/x-www-form-urlencoded', 'Host': 'au-apigw.ccs.hyundai.com.au:8080', 'Connection': 'close', 'Accept-Encoding': 'gzip, deflate', 'User-Agent': 'okhttp/3.12.0'}grant_type=authorization_code&redirect_uri=https%3A%2F%2Fau-apigw.ccs.hyundai.com.au:8080%2Fapi%2Fv1%2Fuser%2Foauth2%2Fredirect&code=KDTTTMYJPEIU5WLHRCWVBG
  1609. 2024-09-17 16:11:53.559 DEBUG (SyncWorker_59) [hyundai_kia_connect_api.KiaUvoApiAU] hyundai_kia_connect_api - Get Access Token Response: {'access_token': 'eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJwaWQiOiI1YjdjYzgzZTI0OTA5MjI1MDQyNmFhMjciLCJ1aWQiOiJkNjIwNzk0YS1kZTVkLTRjODYtYWFlMy1lOTE4ZGJiNjRiMTUiLCJzaWQiOiI4NTVjNzJkZi1kZmQ3LTQyMzAtYWIwMy02N2NiZjkwMmJiMWMiLCJleHAiOjE3MjY2Mzk5MTMsImlhdCI6MTcyNjU1MzUxMywiaXNzIjoiYmx1ZWxpbmsifQ.VObS7yTHG1BYUdU4f0O5wLTQlGlSOc7W71TmvtpkqvDDlHoQZowW5UpBiBsyhyUTswnrTY66-oESac4weFuxJ7Rr31Pc441p9OKnngU-QEIqnLIinWj1q3B-qlJfCbfJvqoSA7rjPmm3L4vxrZtGbQXJBceKGeP2KMMf_AosQCLUCm8yrElPN448hUihim_eJWuJYHNTplXBtPtGGXysCrHtcFTFd4CcUHKFG_R5ArSHilzKAvvEk8io1tSiVGrK402nFZ5MJvBxCBWWDV0_W2WwR0Qa-oz1wa_axbphhcKSHzUEXG8PgW32kTBNC14dwISU4qVXXuQfqtjWchYmWQ', 'token_type': 'Bearer', 'refresh_token': 'OHDL0UDEV7UHQU5VO2OQBW', 'expires_in': 86400}
  1610. 2024-09-17 16:11:53.559 DEBUG (SyncWorker_59) [hyundai_kia_connect_api.KiaUvoApiAU] hyundai_kia_connect_api - Access Token Value Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJwaWQiOiI1YjdjYzgzZTI0OTA5MjI1MDQyNmFhMjciLCJ1aWQiOiJkNjIwNzk0YS1kZTVkLTRjODYtYWFlMy1lOTE4ZGJiNjRiMTUiLCJzaWQiOiI4NTVjNzJkZi1kZmQ3LTQyMzAtYWIwMy02N2NiZjkwMmJiMWMiLCJleHAiOjE3MjY2Mzk5MTMsImlhdCI6MTcyNjU1MzUxMywiaXNzIjoiYmx1ZWxpbmsifQ.VObS7yTHG1BYUdU4f0O5wLTQlGlSOc7W71TmvtpkqvDDlHoQZowW5UpBiBsyhyUTswnrTY66-oESac4weFuxJ7Rr31Pc441p9OKnngU-QEIqnLIinWj1q3B-qlJfCbfJvqoSA7rjPmm3L4vxrZtGbQXJBceKGeP2KMMf_AosQCLUCm8yrElPN448hUihim_eJWuJYHNTplXBtPtGGXysCrHtcFTFd4CcUHKFG_R5ArSHilzKAvvEk8io1tSiVGrK402nFZ5MJvBxCBWWDV0_W2WwR0Qa-oz1wa_axbphhcKSHzUEXG8PgW32kTBNC14dwISU4qVXXuQfqtjWchYmWQ
  1611. 2024-09-17 16:11:53.559 DEBUG (SyncWorker_59) [hyundai_kia_connect_api.KiaUvoApiAU] hyundai_kia_connect_api - Get Refresh Token Data: grant_type=refresh_token&refresh_token=OHDL0UDEV7UHQU5VO2OQBW
  1612. 2024-09-17 16:11:53.750 WARNING (SyncWorker_63) [urllib3.connectionpool] Connection pool is full, discarding connection: 192.168.1.222. Connection pool size: 10
  1613. 2024-09-17 16:11:53.816 WARNING (SyncWorker_10) [urllib3.connectionpool] Connection pool is full, discarding connection: 192.168.1.222. Connection pool size: 10
  1614. 2024-09-17 16:11:54.123 DEBUG (SyncWorker_59) [hyundai_kia_connect_api.KiaUvoApiAU] hyundai_kia_connect_api - Get Refresh Token Response: {'access_token': 'eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJwaWQiOiI1YjdjYzgzZTI0OTA5MjI1MDQyNmFhMjciLCJ1aWQiOiJkNjIwNzk0YS1kZTVkLTRjODYtYWFlMy1lOTE4ZGJiNjRiMTUiLCJzaWQiOiI4NTVjNzJkZi1kZmQ3LTQyMzAtYWIwMy02N2NiZjkwMmJiMWMiLCJleHAiOjE3MjY2Mzk5MTQsImlhdCI6MTcyNjU1MzUxNCwiaXNzIjoiYmx1ZWxpbmsifQ.Ns_bS3b72tMNyl8mzgwq9xbAZKITOUoRvsk5MPZ5RnOGBVo_I3aOKESp2sEv4vDjxLKjyH8KYh9_IyLjFaolXtPY6MEtCw_CqyAPvgQrYEmEwphmLYJUOBis8incjXYJrvb2UaCMVzt_IGCEMUbqevYoZeHUZZsZzUI3OkiLWXmjDBuKSO4jy5PPD1tkuf_dHFqslba-IK_xiCTaK_I8lNIxvWBTsmknam9VGmz2iVwYuxETsSAy2hA6hYU4g0fFbiabu55WHeJlHy3GOyh-oZkOIDN6TsIRzw4oXLZTMPOORMq71y1loPMRLjC-HIE_A0L_GKAsPtAFqhR1POa7Dw', 'token_type': 'Bearer', 'expires_in': 86400}
  1615. 2024-09-17 16:11:54.711 DEBUG (SyncWorker_59) [hyundai_kia_connect_api.KiaUvoApiAU] hyundai_kia_connect_api - Get Vehicles Response: {'retCode': 'S', 'resCode': '0000', 'resMsg': {'vehicles': [{'vin': 'KMHR781ASRU715759', 'vehicleId': 'e998e7f5-8a79-43a1-9aab-a642c66e0426', 'vehicleName': 'PALISADE 19/22', 'type': 'GN', 'tmuNum': '-', 'nickname': 'PALISADE', 'year': '2024', 'master': False, 'carShare': -1, 'regDate': '2024-01-18 20:00:15.569', 'detailInfo': {'inColor': 'NKE', 'outColor': 'WC9', 'bodyType': '3', 'saleCarmdlCd': 'S8', 'prodCarmdlCd': 'S8', 'saleCarmdlEnNm': 'PALISADE'}, 'protocolType': 0, 'ccuCCS2ProtocolSupport': 0}]}, 'msgId': '459cf9f2-f7d5-4031-8ca9-a90773a20ed1'}
  1616. 2024-09-17 16:11:55.324 DEBUG (SyncWorker_60) [hyundai_kia_connect_api.KiaUvoApiAU] hyundai_kia_connect_api - get_cached_vehicle_status response: {'retCode': 'S', 'resCode': '0000', 'resMsg': {'airCtrlOn': False, 'engine': False, 'doorLock': True, 'doorOpen': {'frontLeft': 0, 'frontRight': 0, 'backLeft': 0, 'backRight': 0}, 'trunkOpen': False, 'airTemp': {'value': '00H', 'unit': 0, 'hvacTempType': 1}, 'defrost': False, 'lowFuelLight': False, 'acc': False, 'ign3': False, 'hoodOpen': False, 'transCond': True, 'steerWheelHeat': 0, 'sideBackWindowHeat': 0, 'dte': {'value': 146, 'unit': 1}, 'tirePressureLamp': {'tirePressureLampAll': 0, 'tirePressureLampFL': 0, 'tirePressureLampFR': 0, 'tirePressureLampRL': 0, 'tirePressureLampRR': 0}, 'seatHeaterVentState': {'drvSeatHeatState': 2, 'astSeatHeatState': 2, 'rlSeatHeatState': 2, 'rrSeatHeatState': 2}, 'battery': {'batSoc': 81, 'batState': 0, 'sjbDeliveryMode': 0, 'batSignalReferenceValue': {'batWarning': 0}, 'powerAutoCutMode': 2}, 'sunroofOpen': False, 'lampWireStatus': {'stopLamp': {'stopLampStatus': False, 'leftLamp': False, 'rightLamp': False}, 'headLamp': {'headLampStatus': False, 'leftLowLamp': False, 'rightLowLamp': False, 'leftHighLamp': False, 'rightHighLamp': False, 'leftBifuncLamp': False, 'rightBifuncLamp': False}, 'turnSignalLamp': {'turnSignalLampStatus': False, 'leftFrontLamp': False, 'rightFrontLamp': False, 'leftRearLamp': False, 'rightRearLamp': False}}, 'windowOpen': {'frontLeft': 0, 'frontRight': 0, 'backLeft': 0, 'backRight': 0}, 'smartKeyBatteryWarning': False, 'fuelLevel': 17, 'washerFluidStatus': False, 'breakOilStatus': False, 'engineOilStatus': False, 'sleepModeCheck': True, 'vehicleMovementHis': False, 'vehicleSlope': False, 'neutralPosition': False, 'parkingBrakeHighNotch': False, 'time': '20240917081218', 'remoteWaitingTimeAlert': {'remoteControlAvailable': 1, 'remoteControlWaitingTime': 168, 'elapsedTime': '00:10:20'}, 'systemCutOffAlert': 0, 'tailLampStatus': 0, 'hazardStatus': 0, 'deicer': False}, 'msgId': '9d0c2063-89a6-40d2-95e1-d53efd1cf5ea'}
  1617. 2024-09-17 16:11:55.675 ERROR (MainThread) [custom_components.spotcast.spotcast_controller] Unsuccessful token request, received code 302 and Location header /get_access_token?reason=transport&productType=web_player&_authfailed=1. sp_dc and sp_key could be expired. Please update in config.
  1618. 2024-09-17 16:11:55.682 ERROR (MainThread) [homeassistant.helpers.entity] Update for sensor.playlists_sensor fails
  1619. Traceback (most recent call last):
  1620. File "/config/custom_components/spotcast/spotcast_controller.py", line 169, in get_spotify_token
  1621. ).result()
  1622. ^^^^^^^^
  1623. File "/usr/local/lib/python3.12/concurrent/futures/_base.py", line 456, in result
  1624. return self.__get_result()
  1625. ^^^^^^^^^^^^^^^^^^^
  1626. File "/usr/local/lib/python3.12/concurrent/futures/_base.py", line 401, in __get_result
  1627. raise self._exception
  1628. File "/config/custom_components/spotcast/spotcast_controller.py", line 214, in start_session
  1629. raise HomeAssistantError("Expired sp_dc, sp_key")
  1630. homeassistant.exceptions.HomeAssistantError: Expired sp_dc, sp_key
  1631.  
  1632. During handling of the above exception, another exception occurred:
  1633.  
  1634. Traceback (most recent call last):
  1635. File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 942, in async_update_ha_state
  1636. await self.async_device_update()
  1637. File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1302, in async_device_update
  1638. await hass.async_add_executor_job(self.update)
  1639. File "/usr/local/lib/python3.12/concurrent/futures/thread.py", line 58, in run
  1640. result = self.fn(*self.args, **self.kwargs)
  1641. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  1642. File "/config/custom_components/spotcast/sensor.py", line 118, in update
  1643. resp = self.hass.data[DOMAIN]["controller"].get_playlists(
  1644. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  1645. File "/config/custom_components/spotcast/spotcast_controller.py", line 384, in get_playlists
  1646. client = self.get_spotify_client(account)
  1647. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  1648. File "/config/custom_components/spotcast/spotcast_controller.py", line 265, in get_spotify_client
  1649. return spotipy.Spotify(auth=self.get_token_instance(account).access_token)
  1650. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  1651. File "/config/custom_components/spotcast/spotcast_controller.py", line 161, in access_token
  1652. self.ensure_token_valid()
  1653. File "/config/custom_components/spotcast/spotcast_controller.py", line 157, in ensure_token_valid
  1654. self.get_spotify_token()
  1655. File "/config/custom_components/spotcast/spotcast_controller.py", line 179, in get_spotify_token
  1656. raise HomeAssistantError("Could not get spotify token.")
  1657. homeassistant.exceptions.HomeAssistantError: Could not get spotify token.
  1658. 2024-09-17 16:11:55.923 DEBUG (SyncWorker_60) [hyundai_kia_connect_api.KiaUvoApiAU] hyundai_kia_connect_api - _get_location response: {'retCode': 'S', 'resCode': '0000', 'resMsg': {'coord': {'lat': -34.407692, 'lon': 150.878375, 'alt': 0, 'type': 0}, 'time': '20240917081211'}, 'msgId': 'de42cdca-0324-4289-9e42-2b499f52e9c7'}
  1659. 2024-09-17 16:11:55.923 DEBUG (SyncWorker_60) [hyundai_kia_connect_api.KiaUvoApiAU] hyundai_kia_connect_api - _get_location failed
  1660. 2024-09-17 16:11:55.924 DEBUG (SyncWorker_60) [hyundai_kia_connect_api.KiaUvoApiAU] hyundai_kia_connect_api - SOC Levels couldn't be found. May not be an EV.
  1661. 2024-09-17 16:11:55.929 ERROR (MainThread) [custom_components.kia_uvo.coordinator] Force update failed, falling back to cached: Traceback (most recent call last):
  1662. File "/config/custom_components/kia_uvo/coordinator.py", line 126, in _async_update_data
  1663. await self.hass.async_add_executor_job(
  1664. File "/usr/local/lib/python3.12/concurrent/futures/thread.py", line 58, in run
  1665. result = self.fn(*self.args, **self.kwargs)
  1666. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  1667. File "/usr/local/lib/python3.12/site-packages/hyundai_kia_connect_api/VehicleManager.py", line 115, in check_and_force_update_vehicles
  1668. self.update_vehicle_with_cached_state(vehicle_id)
  1669. File "/usr/local/lib/python3.12/site-packages/hyundai_kia_connect_api/VehicleManager.py", line 90, in update_vehicle_with_cached_state
  1670. self.api.update_vehicle_with_cached_state(self.token, vehicle)
  1671. File "/usr/local/lib/python3.12/site-packages/hyundai_kia_connect_api/KiaUvoApiAU.py", line 259, in update_vehicle_with_cached_state
  1672. self._update_vehicle_drive_info(vehicle, state)
  1673. ^^^^^
  1674. UnboundLocalError: cannot access local variable 'state' where it is not associated with a value
  1675. Traceback (most recent call last):
  1676. File "/config/custom_components/kia_uvo/coordinator.py", line 126, in _async_update_data
  1677. await self.hass.async_add_executor_job(
  1678. File "/usr/local/lib/python3.12/concurrent/futures/thread.py", line 58, in run
  1679. result = self.fn(*self.args, **self.kwargs)
  1680. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  1681. File "/usr/local/lib/python3.12/site-packages/hyundai_kia_connect_api/VehicleManager.py", line 115, in check_and_force_update_vehicles
  1682. self.update_vehicle_with_cached_state(vehicle_id)
  1683. File "/usr/local/lib/python3.12/site-packages/hyundai_kia_connect_api/VehicleManager.py", line 90, in update_vehicle_with_cached_state
  1684. self.api.update_vehicle_with_cached_state(self.token, vehicle)
  1685. File "/usr/local/lib/python3.12/site-packages/hyundai_kia_connect_api/KiaUvoApiAU.py", line 259, in update_vehicle_with_cached_state
  1686. self._update_vehicle_drive_info(vehicle, state)
  1687. ^^^^^
  1688. UnboundLocalError: cannot access local variable 'state' where it is not associated with a value
  1689. 2024-09-17 16:11:56.528 DEBUG (SyncWorker_23) [hyundai_kia_connect_api.KiaUvoApiAU] hyundai_kia_connect_api - get_cached_vehicle_status response: {'retCode': 'S', 'resCode': '0000', 'resMsg': {'airCtrlOn': False, 'engine': False, 'doorLock': True, 'doorOpen': {'frontLeft': 0, 'frontRight': 0, 'backLeft': 0, 'backRight': 0}, 'trunkOpen': False, 'airTemp': {'value': '00H', 'unit': 0, 'hvacTempType': 1}, 'defrost': False, 'lowFuelLight': False, 'acc': False, 'ign3': False, 'hoodOpen': False, 'transCond': True, 'steerWheelHeat': 0, 'sideBackWindowHeat': 0, 'dte': {'value': 146, 'unit': 1}, 'tirePressureLamp': {'tirePressureLampAll': 0, 'tirePressureLampFL': 0, 'tirePressureLampFR': 0, 'tirePressureLampRL': 0, 'tirePressureLampRR': 0}, 'seatHeaterVentState': {'drvSeatHeatState': 2, 'astSeatHeatState': 2, 'rlSeatHeatState': 2, 'rrSeatHeatState': 2}, 'battery': {'batSoc': 81, 'batState': 0, 'sjbDeliveryMode': 0, 'batSignalReferenceValue': {'batWarning': 0}, 'powerAutoCutMode': 2}, 'sunroofOpen': False, 'lampWireStatus': {'stopLamp': {'stopLampStatus': False, 'leftLamp': False, 'rightLamp': False}, 'headLamp': {'headLampStatus': False, 'leftLowLamp': False, 'rightLowLamp': False, 'leftHighLamp': False, 'rightHighLamp': False, 'leftBifuncLamp': False, 'rightBifuncLamp': False}, 'turnSignalLamp': {'turnSignalLampStatus': False, 'leftFrontLamp': False, 'rightFrontLamp': False, 'leftRearLamp': False, 'rightRearLamp': False}}, 'windowOpen': {'frontLeft': 0, 'frontRight': 0, 'backLeft': 0, 'backRight': 0}, 'smartKeyBatteryWarning': False, 'fuelLevel': 17, 'washerFluidStatus': False, 'breakOilStatus': False, 'engineOilStatus': False, 'sleepModeCheck': True, 'vehicleMovementHis': False, 'vehicleSlope': False, 'neutralPosition': False, 'parkingBrakeHighNotch': False, 'time': '20240917081218', 'remoteWaitingTimeAlert': {'remoteControlAvailable': 1, 'remoteControlWaitingTime': 168, 'elapsedTime': '00:10:20'}, 'systemCutOffAlert': 0, 'tailLampStatus': 0, 'hazardStatus': 0, 'deicer': False}, 'msgId': 'b62e47b0-8ca8-419c-80a7-a161b9fc2753'}
  1690. 2024-09-17 16:11:57.111 DEBUG (SyncWorker_23) [hyundai_kia_connect_api.KiaUvoApiAU] hyundai_kia_connect_api - _get_location response: {'retCode': 'S', 'resCode': '0000', 'resMsg': {'coord': {'lat': -34.407692, 'lon': 150.878375, 'alt': 0, 'type': 0}, 'time': '20240917081211'}, 'msgId': 'd26385ff-5d91-434d-88fc-7490cb1006e7'}
  1691. 2024-09-17 16:11:57.111 DEBUG (SyncWorker_23) [hyundai_kia_connect_api.KiaUvoApiAU] hyundai_kia_connect_api - _get_location failed
  1692. 2024-09-17 16:11:57.111 DEBUG (SyncWorker_23) [hyundai_kia_connect_api.KiaUvoApiAU] hyundai_kia_connect_api - SOC Levels couldn't be found. May not be an EV.
  1693. 2024-09-17 16:11:57.114 ERROR (MainThread) [custom_components.kia_uvo.coordinator] Cached update failed: Traceback (most recent call last):
  1694. File "/config/custom_components/kia_uvo/coordinator.py", line 126, in _async_update_data
  1695. await self.hass.async_add_executor_job(
  1696. File "/usr/local/lib/python3.12/concurrent/futures/thread.py", line 58, in run
  1697. result = self.fn(*self.args, **self.kwargs)
  1698. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  1699. File "/usr/local/lib/python3.12/site-packages/hyundai_kia_connect_api/VehicleManager.py", line 115, in check_and_force_update_vehicles
  1700. self.update_vehicle_with_cached_state(vehicle_id)
  1701. File "/usr/local/lib/python3.12/site-packages/hyundai_kia_connect_api/VehicleManager.py", line 90, in update_vehicle_with_cached_state
  1702. self.api.update_vehicle_with_cached_state(self.token, vehicle)
  1703. File "/usr/local/lib/python3.12/site-packages/hyundai_kia_connect_api/KiaUvoApiAU.py", line 259, in update_vehicle_with_cached_state
  1704. self._update_vehicle_drive_info(vehicle, state)
  1705. ^^^^^
  1706. UnboundLocalError: cannot access local variable 'state' where it is not associated with a value
  1707.  
  1708. During handling of the above exception, another exception occurred:
  1709.  
  1710. Traceback (most recent call last):
  1711. File "/config/custom_components/kia_uvo/coordinator.py", line 135, in _async_update_data
  1712. await self.hass.async_add_executor_job(
  1713. File "/usr/local/lib/python3.12/concurrent/futures/thread.py", line 58, in run
  1714. result = self.fn(*self.args, **self.kwargs)
  1715. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  1716. File "/usr/local/lib/python3.12/site-packages/hyundai_kia_connect_api/VehicleManager.py", line 85, in update_all_vehicles_with_cached_state
  1717. self.update_vehicle_with_cached_state(vehicle_id)
  1718. File "/usr/local/lib/python3.12/site-packages/hyundai_kia_connect_api/VehicleManager.py", line 90, in update_vehicle_with_cached_state
  1719. self.api.update_vehicle_with_cached_state(self.token, vehicle)
  1720. File "/usr/local/lib/python3.12/site-packages/hyundai_kia_connect_api/KiaUvoApiAU.py", line 259, in update_vehicle_with_cached_state
  1721. self._update_vehicle_drive_info(vehicle, state)
  1722. ^^^^^
  1723. UnboundLocalError: cannot access local variable 'state' where it is not associated with a value
  1724. Traceback (most recent call last):
  1725. File "/config/custom_components/kia_uvo/coordinator.py", line 126, in _async_update_data
  1726. await self.hass.async_add_executor_job(
  1727. File "/usr/local/lib/python3.12/concurrent/futures/thread.py", line 58, in run
  1728. result = self.fn(*self.args, **self.kwargs)
  1729. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  1730. File "/usr/local/lib/python3.12/site-packages/hyundai_kia_connect_api/VehicleManager.py", line 115, in check_and_force_update_vehicles
  1731. self.update_vehicle_with_cached_state(vehicle_id)
  1732. File "/usr/local/lib/python3.12/site-packages/hyundai_kia_connect_api/VehicleManager.py", line 90, in update_vehicle_with_cached_state
  1733. self.api.update_vehicle_with_cached_state(self.token, vehicle)
  1734. File "/usr/local/lib/python3.12/site-packages/hyundai_kia_connect_api/KiaUvoApiAU.py", line 259, in update_vehicle_with_cached_state
  1735. self._update_vehicle_drive_info(vehicle, state)
  1736. ^^^^^
  1737. UnboundLocalError: cannot access local variable 'state' where it is not associated with a value
  1738.  
  1739. During handling of the above exception, another exception occurred:
  1740.  
  1741. Traceback (most recent call last):
  1742. File "/config/custom_components/kia_uvo/coordinator.py", line 135, in _async_update_data
  1743. await self.hass.async_add_executor_job(
  1744. File "/usr/local/lib/python3.12/concurrent/futures/thread.py", line 58, in run
  1745. result = self.fn(*self.args, **self.kwargs)
  1746. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  1747. File "/usr/local/lib/python3.12/site-packages/hyundai_kia_connect_api/VehicleManager.py", line 85, in update_all_vehicles_with_cached_state
  1748. self.update_vehicle_with_cached_state(vehicle_id)
  1749. File "/usr/local/lib/python3.12/site-packages/hyundai_kia_connect_api/VehicleManager.py", line 90, in update_vehicle_with_cached_state
  1750. self.api.update_vehicle_with_cached_state(self.token, vehicle)
  1751. File "/usr/local/lib/python3.12/site-packages/hyundai_kia_connect_api/KiaUvoApiAU.py", line 259, in update_vehicle_with_cached_state
  1752. self._update_vehicle_drive_info(vehicle, state)
  1753. ^^^^^
  1754. UnboundLocalError: cannot access local variable 'state' where it is not associated with a value
  1755. 2024-09-17 16:11:57.117 DEBUG (MainThread) [custom_components.kia_uvo.coordinator] Finished fetching kia_uvo data in 6.063 seconds (success: False)
  1756.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement