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

REST API: Loadpoint id attribute missing on /api/state #14263

Closed
philipptrenz opened this issue Jun 9, 2024 · 1 comment
Closed

REST API: Loadpoint id attribute missing on /api/state #14263

philipptrenz opened this issue Jun 9, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@philipptrenz
Copy link
Contributor

Is your feature request related to a problem? Please describe.
When loading the evcc state via /api/state, the loadpoints are lacking an id property, which is required to, for example, change the mode via POST request.

Describe the solution you'd like
Add id property for each loadpoints array object. I would also suggest to use a unique identifer, like a uuid, for that.

@andig
Copy link
Member

andig commented Jun 9, 2024

For time being, loadpoint id is slice index. Likely to be improved with #12958 in the near future.

@andig andig closed this as completed Jun 9, 2024
@andig andig added the enhancement New feature or request label Jun 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants