Conversation
openhab » openhab #1939 SUCCESS |
openhab » openhab #1950 SUCCESS |
Thanks @idserda, thanks for sharing this Binding. Please let us know if you are ready for Review. Best, Thomas E.-E. |
openhab » openhab #2008 FAILURE |
openhab » openhab #2009 FAILURE |
openhab » openhab #2013 SUCCESS |
openhab » openhab #2039 SUCCESS |
openhab » openhab #2106 FAILURE |
openhab » openhab #2121 SUCCESS |
openhab » openhab #2126 FAILURE |
openhab » openhab #2128 FAILURE |
openhab » openhab #2131 FAILURE |
openhab » openhab #2136 SUCCESS |
openhab » openhab #2160 SUCCESS |
Any news @idserda? Is this Binding ready for review? Best, Thomas E.-E. |
@teichsta, this binding is now ready for review! |
openhab » openhab #2761 SUCCESS |
openhab » openhab #2762 SUCCESS |
openhab » openhab #2763 SUCCESS |
{ | ||
DenonBindingConfig config = ((DenonBindingProvider) provider).getConfig(itemName); | ||
if (config != null) { | ||
connections.get(config.getInstance()).getConnector().updateStateFromCache(config.getProperty()); |
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.
since the phrase connections.get(config.getInstance()).getConnector()
is duplicated a lot it might be worth refactoring it into a new method?
} | ||
|
||
private String toDenonValue(BigDecimal percent) { | ||
BigDecimal round = new BigDecimal("0.5"); |
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.
extract 0.5 as a final static member constant
Hi @idserda, please find my review comments inline. Thanks, Thomas E.-E. |
any chance to get the feedback incorporated soon? |
Yes, almost ready. I'll probably push the changes tomorrow morning. |
@teichsta Done, thanks for the feedback. |
openhab » openhab #2900 SUCCESS |
openhab » openhab #2901 SUCCESS |
openhab » openhab #2908 SUCCESS |
openhab » openhab #2909 SUCCESS |
Thanks again @idserda. Could you please also link to the according Wiki page here? Best, Thomas E.-E. |
Denon binding, still work in progress
Wiki page
TODO:
Support more commands (set surround mode, etc.)Support more 'value' properties (audio/video info, if possible)EPL headersJavadoc