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

feat: make preconditioning failure available (in API) #763

Merged
merged 1 commit into from
Mar 19, 2024

Conversation

gernot-h
Copy link
Contributor

The preconditioning element has an interesting field called "failureCause" which reports error conditions like opened doors, battery low state etc preventing the preconditioning to run. These errors are interesting, so make them available in our API.

This field was removed in 619cefd, not sure why, so add it again.

Fixes #760.

@gernot-h
Copy link
Contributor Author

You can now see the failureCause in the API:

grafik

@flobz
Copy link
Owner

flobz commented Feb 24, 2024

thanks ! :)

The preconditioning element has an interesting field called
"failureCause" which reports error conditions like opened doors, battery
low state etc preventing the preconditioning to run. These errors are
interesting, so make them available in our API.

This field was removed in 619cefd, not sure why, so add it again.

Fixes flobz#760.
@gernot-h gernot-h force-pushed the feat-preconditioning-failureCause branch from 87aea7d to 1c069e4 Compare March 5, 2024 20:23
@gernot-h
Copy link
Contributor Author

gernot-h commented Mar 5, 2024

@flobz, I rebased this to master now, so the tests are all green again. I also just re-applied this change to my local installation, et voila, it told me the boot of our car (again) wasn't closed correctly.

So I would really love to see this merged into master ;-). If there's anything I can improve/prepare to help you with reviewing/merging, let me know. :-)

@flobz
Copy link
Owner

flobz commented Mar 19, 2024

lgtm thanks

@flobz flobz merged commit b22cb7c into flobz:master Mar 19, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

record preconditioning failureCause
2 participants