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

Add Toyota #18716

Merged
merged 20 commits into from
Feb 14, 2025
Merged

Add Toyota #18716

merged 20 commits into from
Feb 14, 2025

Conversation

thomasbecker
Copy link
Contributor

Adds Toyota to the vehicle list. Retrieving SOC works fine for my bZ4X.

Should be easy enough from here to also read the climate state, etc.
Screenshot 2025-02-10 at 12 06 19

Copy link
Member

@andig andig left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great PR!

@andig andig added the vehicles Specific vehicle support label Feb 10, 2025
@andig andig marked this pull request as draft February 10, 2025 12:32
@thomasbecker
Copy link
Contributor Author

Great PR!

Great Review! 👍

@andig
Copy link
Member

andig commented Feb 14, 2025

Great Review! 👍

Need to do another round, sorry :/

@andig andig changed the title Feat/toyota Add Toyota Feb 14, 2025
@thomasbecker
Copy link
Contributor Author

Great Review! 👍

Need to do another round, sorry :/

As many as necessary. Am new to go so happy about every feedback to learn. 👍

@andig
Copy link
Member

andig commented Feb 14, 2025

pass Identity pointer instead of TokenSource

The point here is to avoid the ducktyping. If you need more than the interface, either expand that or simply use the actual type (...which still fulfills the interface!).

@thomasbecker
Copy link
Contributor Author

pass Identity pointer instead of TokenSource

The point here is to avoid the ducktyping. If you need more than the interface, either expand that or simply use the actual type (...which still fulfills the interface!).

Yep, much cleaner that way. Thx!

@andig andig marked this pull request as ready for review February 14, 2025 16:16
@andig andig merged commit 4cb072b into evcc-io:master Feb 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
vehicles Specific vehicle support
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants