Skip to content

Fix example code to use correct client#2

Open
blampe wants to merge 1 commit intoevcc-io:mainfrom
blampe:blampe/upstream
Open

Fix example code to use correct client#2
blampe wants to merge 1 commit intoevcc-io:mainfrom
blampe:blampe/upstream

Conversation

@blampe
Copy link

@blampe blampe commented Mar 25, 2026

Example code was still using the upstream github.com/bogosj/tesla primarily for WithTokenFile which was removed in d0be579.

Instead we can read the file, create a oauth2.TokenSource directly, and feed it to the correct client.

Pre-work for #1 and evcc-io/evcc#15693.

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