-
-
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
[emotiva] Improve logging, retry job, static typing and type inference. #17596
Conversation
espenaf
commented
Oct 20, 2024
- Add and improve logging when trying to map channel change to Emotiva Control Commands.
- Improve logging of notifications and keep-alive job.
- Improve checking of retry job status.
- Improve static typing of previous state.
- Use type inference wherever possible.
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 for this addition, do have some questions and comments.
...binding.emotiva/src/main/java/org/openhab/binding/emotiva/internal/EmotivaCommandHelper.java
Outdated
Show resolved
Hide resolved
...ding.emotiva/src/main/java/org/openhab/binding/emotiva/internal/EmotivaProcessorHandler.java
Outdated
Show resolved
Hide resolved
...ding.emotiva/src/main/java/org/openhab/binding/emotiva/internal/EmotivaProcessorHandler.java
Outdated
Show resolved
Hide resolved
...ding.emotiva/src/main/java/org/openhab/binding/emotiva/internal/EmotivaProcessorHandler.java
Outdated
Show resolved
Hide resolved
...otiva/src/main/java/org/openhab/binding/emotiva/internal/protocol/EmotivaControlRequest.java
Outdated
Show resolved
Hide resolved
f7a8d2e
to
7dc7061
Compare
...ding.emotiva/src/main/java/org/openhab/binding/emotiva/internal/EmotivaProcessorHandler.java
Outdated
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 for this improvement. Just two comments about the logging and the non-existing channel remain.
* Add and improve logging when trying to map channel change to Emotiva Control Commands. * Improve logging of notifications and keep alive job. * Improve checking of retry job status. * Improve static typing of previous state. * Use type inference in selected places. Signed-off-by: Espen Fossen <espenaf@junta.no>
063ddb4
to
77f7c6c
Compare
Pushed the needed changes. So please have a look. |
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 for addressing the last comments. LGTM
…e. (openhab#17596) * Add and improve logging when trying to map channel change to Emotiva Control Commands. * Improve logging of notifications and keep alive job. * Improve checking of retry job status. * Improve static typing of previous state. * Use type inference in selected places. Signed-off-by: Espen Fossen <espenaf@junta.no>
…e. (openhab#17596) * Add and improve logging when trying to map channel change to Emotiva Control Commands. * Improve logging of notifications and keep alive job. * Improve checking of retry job status. * Improve static typing of previous state. * Use type inference in selected places. Signed-off-by: Espen Fossen <espenaf@junta.no>
…e. (openhab#17596) * Add and improve logging when trying to map channel change to Emotiva Control Commands. * Improve logging of notifications and keep alive job. * Improve checking of retry job status. * Improve static typing of previous state. * Use type inference in selected places. Signed-off-by: Espen Fossen <espenaf@junta.no> Signed-off-by: Ciprian Pascu <contact@ciprianpascu.ro>