feat: make preconditioning failure available (in API)
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 619cefd4, not sure why, so add it again.
Fixes #760.
You can now see the failureCause in the API:
thanks ! :)
@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. :-)
lgtm thanks