You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Information about the status of the hood is not available for my car, this results in the following error:
Traceback (most recent call last):
File "fetch.py", line 87, in <module>
loop.run_until_complete(get_information())
File "/usr/lib/python3.8/asyncio/base_events.py", line 616, in run_until_complete
return future.result()
File "fetch.py", line 26, in get_information
vehicle = await client.get_vehicle_status(car)
File "/usr/local/lib/python3.8/dist-packages/mytoyota/client.py", line 120, in get_vehicle_status
car = Vehicle(
File "/usr/local/lib/python3.8/dist-packages/mytoyota/vehicle.py", line 192, in __init__
Status(status["protectionState"])
File "/usr/local/lib/python3.8/dist-packages/mytoyota/vehicle.py", line 112, in __init__
self.doors = Doors(status[HOOD], status[DOORS])
KeyError: 'hood'
To Reproduce
Steps to reproduce the behavior:
Execute the sample script of this repository.
Describe the bug
Information about the status of the hood is not available for my car, this results in the following error:
To Reproduce
Steps to reproduce the behavior:
Execute the sample script of this repository.
Additional context
Response of the request:
Car: Toyota Yaris model 2021
The text was updated successfully, but these errors were encountered: