-
-
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
[hdpowerview] Added support for rear blackout panel #12098
Conversation
Signed-off-by: Andrew Fiddian-Green <[email protected]>
Signed-off-by: Andrew Fiddian-Green <[email protected]>
Signed-off-by: Andrew Fiddian-Green <[email protected]>
@jlaur and @arroyoj => This PR adds further support for shades with EDIT: the JAR file is here https://github.com/andrewfg/openhab-addons/tree/jar-uploads/bundles/org.openhab.binding.hdpowerview |
Signed-off-by: Andrew Fiddian-Green <[email protected]>
Signed-off-by: Andrew Fiddian-Green <[email protected]>
Signed-off-by: Andrew Fiddian-Green <[email protected]>
@andrewfg - cool! I have only one two-motor shade, a top down/bottom up. It's in the bedroom and I can't test it right now, but I'll get it done one of the upcoming days. |
@andrewfg - the bedroom is currently Covid-19 isolation zone, and I'm not in it, but I just managed to make full use of a 10 minute timeslot. :-) I tested reading and writing position/secondary for the TDBU shade, and it works exactly as before. So I can confirm that this type of shade was not affected by the changes. |
I wish whoever is in the room a quick recovery. Stay safe! |
@andrewfg, that's great that you've been able to identify additional shade types and capabilities and expand the support in this binding. I tested my top-down/bottom-up shades ( |
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.
Looks good in general, just a few minor comments.
...c/main/java/org/openhab/binding/hdpowerview/internal/database/ShadeCapabilitiesDatabase.java
Show resolved
Hide resolved
...binding.hdpowerview/src/test/java/org/openhab/binding/hdpowerview/HDPowerViewJUnitTests.java
Outdated
Show resolved
Hide resolved
...binding.hdpowerview/src/test/java/org/openhab/binding/hdpowerview/HDPowerViewJUnitTests.java
Outdated
Show resolved
Hide resolved
Signed-off-by: Andrew Fiddian-Green <[email protected]>
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.
LGTM - thanks!
* [hdpowerview] refactor enum constant names * [hdpowerview] add support for blackout shades * [hdpowerview] unit tests for capabilities 8 & 9 * [hdpowerview] delete no longer valid comment * [hdpowerview] blackout shade position is never UNDEF * [hdpowerview] updated read me * [hdpowerview] refactor unit tests into two classes Signed-off-by: Andrew Fiddian-Green <[email protected]>
* [hdpowerview] refactor enum constant names * [hdpowerview] add support for blackout shades * [hdpowerview] unit tests for capabilities 8 & 9 * [hdpowerview] delete no longer valid comment * [hdpowerview] blackout shade position is never UNDEF * [hdpowerview] updated read me * [hdpowerview] refactor unit tests into two classes Signed-off-by: Andrew Fiddian-Green <[email protected]> Signed-off-by: Nick Waterton <[email protected]>
* [hdpowerview] refactor enum constant names * [hdpowerview] add support for blackout shades * [hdpowerview] unit tests for capabilities 8 & 9 * [hdpowerview] delete no longer valid comment * [hdpowerview] blackout shade position is never UNDEF * [hdpowerview] updated read me * [hdpowerview] refactor unit tests into two classes Signed-off-by: Andrew Fiddian-Green <[email protected]>
* [hdpowerview] refactor enum constant names * [hdpowerview] add support for blackout shades * [hdpowerview] unit tests for capabilities 8 & 9 * [hdpowerview] delete no longer valid comment * [hdpowerview] blackout shade position is never UNDEF * [hdpowerview] updated read me * [hdpowerview] refactor unit tests into two classes Signed-off-by: Andrew Fiddian-Green <[email protected]> Signed-off-by: Andras Uhrin <[email protected]>
Fixes #12097
capabilities:8
andcapabilities:9
PRIMARY_POSITION
,SECONDARY_POSITION
etc.capabilities:8
andcapabilities:9
Signed-off-by: Andrew Fiddian-Green [email protected]