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

feat: Add ability to call check_and_force_update_vehicles function for just one specific vehicle. #688

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Triple-S
Copy link
Contributor

Hello,
This PR adds the ability to call the check_and_force_update_vehicles function for just one specific vehicle.
The reason this is a neccessary feature is that if you have multiple vehicles connected to your account and one of them goes into energy saver mode so that it does not respond to force update requests anymore, these requests fail with an APIError which breaks the vehicles loop so that later vehicles are not queried at all even though they would respond. With the new funtion it is possible to query the vehicles from isolated try blocks so that one failing vehicle does not cause all others to fail too.
Best regards,
Triple-S

Triple-S and others added 2 commits November 24, 2024 20:53
Add ability to call check_and_force_update_vehicles function for just one specific vehicle.
@Triple-S Triple-S changed the title Add ability to call check_and_force_update_vehicles function for just one specific vehicle. [feat] Add ability to call check_and_force_update_vehicles function for just one specific vehicle. Nov 24, 2024
@Triple-S Triple-S changed the title [feat] Add ability to call check_and_force_update_vehicles function for just one specific vehicle. feat: Add ability to call check_and_force_update_vehicles function for just one specific vehicle. Nov 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant