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

Restore vehicle onIdentify behavior for targetSoc from yaml #9685

Merged
merged 4 commits into from
Sep 3, 2023

Conversation

naltatis
Copy link
Member

@naltatis naltatis commented Sep 2, 2023

Partly reverts #9370 so that vehicle values from yaml are respected again.

A proper fix with UI configuration and new API endpoints here #9684

Restored behavior: vehicle.targetSoc (onIdentify) will be used again
@VolkerK62 Magst du die Doku anpassen https://docs.evcc.io/docs/reference/configuration/vehicles/#onidentify

Refactoring: yaml based minSoc settings will not be used (as today). Structure is kept so that yaml files remain backwards compatible. Removed/clarified deprecation in the source code.

@naltatis naltatis changed the title Restore vehicle onIdentify behavior for targetSoc and minSoc from yaml Restore vehicle onIdentify behavior for targetSoc from yaml Sep 3, 2023
@andig
Copy link
Member

andig commented Sep 3, 2023

Refactoring: yaml based minSoc settings will not be used

@naltatis wollen wir den nicht einfach komplett reverten und dann nochmal in Ruhe alles glatt ziehen?

@andig andig added the bug Something isn't working label Sep 3, 2023
@naltatis
Copy link
Member Author

naltatis commented Sep 3, 2023

@andig mit einem revert bekommen wir diese Verhalten #9283 wieder. Der jetzige Stand löst beide Probleme.

@andig
Copy link
Member

andig commented Sep 3, 2023

Ahh, super! Dann rein damit?

@naltatis
Copy link
Member Author

naltatis commented Sep 3, 2023

Wenn du das changeset kleiner haben möchtest kann ich die MinSoC Anpassungen raus nehmen. Da gehts vor allem um Klarheit. Die ändern kein Verhalten

@andig
Copy link
Member

andig commented Sep 3, 2023

Ne, wenn das sogar beide Issue behebt ist super- gerne rein, DANKE!

@naltatis
Copy link
Member Author

naltatis commented Sep 3, 2023

Ja, hab gerade noch mal ein paar Tests gemacht. Kann rein.

@naltatis naltatis merged commit 5cc4c14 into master Sep 3, 2023
@naltatis naltatis deleted the fix/restore_vehicle_onidentify_behaviour branch September 3, 2023 14:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants