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 vehicle data in diagnostics #257

Merged
merged 1 commit into from
Dec 7, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion custom_components/polestar_api/diagnostics.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ async def async_get_config_entry_diagnostics(

return {
"config_entry_data": async_redact_data(dict(entry.data), TO_REDACT),
"cars": [{"vin": car.vin, "model": car.model} for car in cars],
"cars": [{"vin": car.vin, "name": car.name, "data": car.data} for car in cars],
jschlyter marked this conversation as resolved.
Show resolved Hide resolved
"auth_api": {
"oidc_provider": api.auth.oidc_provider,
"access_token_valid": api.auth.is_token_valid(),
Expand Down
Loading