Skip to content

Commit

Permalink
Merge pull request #257 from jschlyter/diagnostics_data
Browse files Browse the repository at this point in the history
Add vehicle data in diagnostics
  • Loading branch information
jschlyter authored Dec 7, 2024
2 parents f03e9ad + 3ae4411 commit a2017b2
Showing 1 changed file with 1 addition and 1 deletion.
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],
"auth_api": {
"oidc_provider": api.auth.oidc_provider,
"access_token_valid": api.auth.is_token_valid(),
Expand Down

0 comments on commit a2017b2

Please sign in to comment.