-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
[tesla] Add null annotations #17582
[tesla] Add null annotations #17582
Conversation
Signed-off-by: Leo Siepel <[email protected]>
Signed-off-by: Leo Siepel <[email protected]>
Signed-off-by: Leo Siepel <[email protected]>
@kaikreuzer would you be able to test this binding? As you seem one of the few that not be forced to use the fleet api yet. |
Hey @lsiepel! Thanks for the clean-ups! I've installed this version on my production system and will watch it over the day tomorrow. So far, it seems to work and I do not see any issues in my logs. Will keep you posted. |
Unfortunately, I do not seem to receive any updates anymore - so I would say that this PR seems to break the functionality. |
Too bad, looking at the code again i can't spot the obvious error. If you can provide debug logs and your observations i can try to look at it. But maybe it is simpler for you to just debug it when having the car connected. |
...nding.tesla/src/main/java/org/openhab/binding/tesla/internal/handler/TeslaEventEndpoint.java
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @lsiepel, I finally got it running (my local development env was broken due to openhab/openhab-distro#1697, which I only figured out today.
It seems that your code works well after all - there is just one small bug that causes it to break. Once this is fixed, it looks good!
...binding.tesla/src/main/java/org/openhab/binding/tesla/internal/protocol/dto/VehicleData.java
Outdated
Show resolved
Hide resolved
…nding/tesla/internal/protocol/dto/VehicleData.java Co-authored-by: Kai Kreuzer <[email protected]> Signed-off-by: lsiepel <[email protected]>
Done, I leave it to you if you want to merge it for 4.3.0 or not. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's merge, thanks!
Signed-off-by: Leo Siepel <[email protected]>
This pull request has been mentioned on openHAB Community. There might be relevant details there: https://community.openhab.org/t/tesla-binding-exception-occurred-while-parsing-data/161012/8 |
Signed-off-by: Leo Siepel <[email protected]> Signed-off-by: Ciprian Pascu <[email protected]>
Only form code perspective, needs some testing to be sure no regression occures.
Test jar 4.3.0 (should also work with 4.2.x) https://1drv.ms/u/s!AnMcxmvEeupwj4oOcmeYDamnLAcyAg?e=k2nzcw