Skip to content
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

Exception in appendWindowState + appendDoorState #263

Open
t0bias-r opened this issue Mar 7, 2024 · 0 comments
Open

Exception in appendWindowState + appendDoorState #263

t0bias-r opened this issue Mar 7, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@t0bias-r
Copy link
Contributor

t0bias-r commented Mar 7, 2024

I had an 429 error yesterday (normal for too many requests)
{"errorCode":"gw.error.VINquotalimitReached","description":"Global quota limit by VIN was reached"}}
{"error":{"errorCode":"gw.error.VINquotalimitReached","description":"Global quota limit by VIN was reached"}}

Further selectiveStatus requests returned and empty Json {}.
appendWindowState + appendDoorState cause an exception because the existance of the field is not checked:
https://github.com/arjenvrh/audi_connect_ha/blob/8065ff79c462e7daead19338a12f54b08b45f430/custom_components/audiconnect/audi_models.py#L152-L153
https://github.com/arjenvrh/audi_connect_ha/blob/8065ff79c462e7daead19338a12f54b08b45f430/custom_components/audiconnect/audi_models.py#L118-L119

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants