-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unavailable #285
Comments
I have the same error even after checking the MyT app for some popups:
|
Similar for me - but no "old car" involved. I think I have a few more errors as well - the blocking call doesn't seem good. My perception is that it has been happening for a few days and is getting worse (more errors). 2024-08-08 19:30:06.897 WARNING (MainThread) [homeassistant.util.loop] Detected blocking call to open with args ('/root/.cache/toyota_credentials_cache_contains_secrets', 'r') 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 2024-08-08 19:30:08.501 ERROR (MainThread) [custom_components.toyota] 2 validation errors for NotificationResponseModel 2024-08-08 19:30:09.853 ERROR (MainThread) [homeassistant.components.binary_sensor] Error while setting up toyota platform for binary_sensor |
This is a duplicate of #286 |
I'm now constantly getting the Unavailable when looking at any entity for my Toyota RAV4.
I get the following when looking at the logs:-
Error while setting up toyota platform for sensor
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 364, in _async_setup_platform
await asyncio.shield(awaitable)
File "/config/custom_components/toyota/sensor.py", line 209, in async_setup_entry
for index, _ in enumerate(coordinator.data):
^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: 'NoneType' object is not iterable
I wonder if this is cased by the fact that this Integration reports 2 devices (my old RAV4, that I traded in for my new RAV4). I can't see how to delete the old car, so the best I have done is disable it. Could this old car be causing some problem, if the integration tries to pull any data for it.
Thanks
-Si-
The text was updated successfully, but these errors were encountered: