Open alpy-nz opened 5 months ago
I have the same errore Chr 2024 plugin Hybrid Core 2024.6.4 Supervisor 2024.06.2 V2.0.3 of course I am registered with the new mytoyota app. And I tried several times to uninstall the integration, restart HA, clear browser cache, reinstall integration, restart HA. It works for a while and then from that error you wrote. However I noticed that also from the car it happens that sometimes it can not synchronize the profile, so I do not understand if it can depend on the integration or on Toyota itself
I ger this also but it goes away again by it self and somes back sometimes
Same issue
Same, but frankly I'd always assumed this was an issue on Toyota's end...
Same here, currently all entities are unavailable. The debug error log is below
2024-07-18 08:53:22.296 WARNING (MainThread) [homeassistant.util.loop] Detected blocking call to open inside the event loop by custom integration 'toyota' at custom_components/toyota/init.py, line 62: await client.login() (offender: /usr/local/lib/python3.12/site-packages/mytoyota/controller.py, line 203: with open(str(CACHE_FILENAME), "w", encoding="utf-8") as f:), please create a bug report at https://github.com/DurgNomis-drol/ha_toyota/issues
Traceback (most recent call last):
File "
2024-07-18 08:53:25.312 ERROR (MainThread) [custom_components.toyota] 1 validation error for ElectricResponseModel
payload -> evRangeWithAc
field required (type=value_error.missing)
2024-07-18 08:53:25.313 ERROR (MainThread) [homeassistant.components.binary_sensor] Error while setting up toyota platform for binary_sensor
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 366, in _async_setup_platform
await asyncio.shield(awaitable)
File "/config/custom_components/toyota/binary_sensor.py", line 232, in async_setupentry
for index, in enumerate(coordinator.data):
^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: 'NoneType' object is not iterable
2024-07-18 08:53:25.316 ERROR (MainThread) [homeassistant.components.device_tracker] Error while setting up toyota platform for device_tracker
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 366, in _async_setup_platform
await asyncio.shield(awaitable)
File "/config/custom_components/toyota/device_tracker.py", line 39, in async_setup_entry
for index, vehicle in enumerate(coordinator.data)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: 'NoneType' object is not iterable
2024-07-18 08:53:25.319 ERROR (MainThread) [homeassistant.components.sensor] Error while setting up toyota platform for sensor
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 366, in _async_setup_platform
await asyncio.shield(awaitable)
File "/config/custom_components/toyota/sensor.py", line 209, in async_setupentry
for index, in enumerate(coordinator.data):
^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: 'NoneType' object is not iterable
2024-07-18 08:53:30.343 WARNING (MainThread) [homeassistant.util.loop] Detected blocking call to open inside the event loop by custom integration 'toyota' at custom_components/toyota/init.py, line 56: client = MyT( (offender: /usr/local/lib/python3.12/site-packages/mytoyota/controller.py, line 56: with open(str(CACHE_FILENAME), "r", encoding="utf-8") as f:), please create a bug report at https://github.com/DurgNomis-drol/ha_toyota/issues
Traceback (most recent call last):
File "
2024-07-18 08:53:31.393 ERROR (MainThread) [custom_components.toyota] 1 validation error for ElectricResponseModel
payload -> evRangeWithAc
field required (type=value_error.missing)
2024-07-18 08:53:31.395 ERROR (MainThread) [homeassistant.components.binary_sensor] Error while setting up toyota platform for binary_sensor
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 366, in _async_setup_platform
await asyncio.shield(awaitable)
File "/config/custom_components/toyota/binary_sensor.py", line 232, in async_setupentry
for index, in enumerate(coordinator.data):
^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: 'NoneType' object is not iterable
2024-07-18 08:53:31.398 ERROR (MainThread) [homeassistant.components.device_tracker] Error while setting up toyota platform for device_tracker
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 366, in _async_setup_platform
await asyncio.shield(awaitable)
File "/config/custom_components/toyota/device_tracker.py", line 39, in async_setup_entry
for index, vehicle in enumerate(coordinator.data)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: 'NoneType' object is not iterable
2024-07-18 08:53:31.401 ERROR (MainThread) [homeassistant.components.sensor] Error while setting up toyota platform for sensor
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 366, in _async_setup_platform
await asyncio.shield(awaitable)
File "/config/custom_components/toyota/sensor.py", line 209, in async_setupentry
for index, in enumerate(coordinator.data):
^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: 'NoneType' object is not iterable
2024-07-18 08:56:17.650 WARNING (MainThread) [homeassistant.util.loop] Detected blocking call to open inside the event loop by custom integration 'toyota' at custom_components/toyota/init.py, line 56: client = MyT( (offender: /usr/local/lib/python3.12/site-packages/mytoyota/controller.py, line 56: with open(str(CACHE_FILENAME), "r", encoding="utf-8") as f:), please create a bug report at https://github.com/DurgNomis-drol/ha_toyota/issues
Traceback (most recent call last):
File "
2024-07-18 08:56:21.531 ERROR (MainThread) [custom_components.toyota] 1 validation error for ElectricResponseModel payload -> evRangeWithAc field required (type=value_error.missing) 2024-07-18 08:56:21.531 DEBUG (MainThread) [custom_components.toyota] Finished fetching toyota data in 3.880 seconds (success: True) 2024-07-18 08:56:21.532 ERROR (MainThread) [homeassistant.components.binary_sensor] Error while setting up toyota platform for binary_sensor Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 366, in _async_setup_platform await asyncio.shield(awaitable) File "/config/custom_components/toyota/binary_sensor.py", line 232, in async_setupentry for index, in enumerate(coordinator.data): ^^^^^^^^^^^^^^^^^^^^^^^^^^^ TypeError: 'NoneType' object is not iterable 2024-07-18 08:56:21.534 ERROR (MainThread) [homeassistant.components.device_tracker] Error while setting up toyota platform for device_tracker Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 366, in _async_setup_platform await asyncio.shield(awaitable) File "/config/custom_components/toyota/device_tracker.py", line 39, in async_setup_entry for index, vehicle in enumerate(coordinator.data) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ TypeError: 'NoneType' object is not iterable 2024-07-18 08:56:21.536 ERROR (MainThread) [homeassistant.components.sensor] Error while setting up toyota platform for sensor Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 366, in _async_setup_platform await asyncio.shield(awaitable) File "/config/custom_components/toyota/sensor.py", line 209, in async_setupentry for index, in enumerate(coordinator.data): ^^^^^^^^^^^^^^^^^^^^^^^^^^^ TypeError: 'NoneType' object is not iterable
Same here. When that happens, I checked MyToyota app and it looks like at that given time, my toyota app is also off (can't login).
So I presume the issue is on Toyota side, but that needs further checks.
integration works intermittently and often reports unavailable
Core 2024.5.5 Supervisor 2024.06.2 v2.0.3
RAV4 MY21 by Toyota
this appears in the log very frequently
2024-06-28 18:47:21.527 ERROR (MainThread) [custom_components.toyota] Error fetching toyota data: Request Failed. 403, { "status": { "messages": [ { "responseCode": "APIGW-403", "description": "Unauthorized", "detailedDescription": "invalid token could not authorize" } ] }