evcc icon indicating copy to clipboard operation
evcc copied to clipboard

Vehicles: remove title/icon from yaml config (BC)

Open andig opened this issue 2 months ago β€’ 6 comments

This PR removes the special case of vehicle having their "own" title and icon instead of title/icon being part of the device meta data. This has the following consequences:

  • title/icon configuration via yaml is no longer possible- it is via config UI
  • vehicle API nick names are removed (it was never clear if an API or given title had preference)
  • this supported better OAuth user experience for https://github.com/evcc-io/evcc/pull/24264

TODO

  • [ ] remove UI special casing @naltatis

andig avatar Oct 08 '25 19:10 andig

@andig any chance we can keep supporting the deprecated yaml title/icon for a couple of releases? Since config ui is not marked as stable yet, there will be no non-experimental way to set a vehicle title. Having a vehicle title is much more critical from a user-base-perspective than meter titles.

If we can't support both, I'd say we should hold this PR until config ui is stable.

naltatis avatar Oct 14 '25 10:10 naltatis

this supported better OAuth user experience

Is the new vehicle title api really necessary for this? Publishing a vehicle name would also be fine for UI. We have everything there to perform a lookup for title.

naltatis avatar Oct 14 '25 10:10 naltatis

Is the new vehicle title api really necessary for this?

What new api?

andig avatar Oct 18 '25 15:10 andig

The ability to get the title from a vehicle via go api (this PR). If the main objective is to provide a better name for the OAuth flow in UI the name of the vehicle would be sufficient.

naltatis avatar Oct 21 '25 19:10 naltatis

I donβ€˜t understand 😟

andig avatar Oct 21 '25 20:10 andig

on hold until config ui is stable since we loose ability to configure vehicle title in our recommended setup

naltatis avatar Nov 12 '25 14:11 naltatis