-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
[mqtt.homeassistant] Improve Cover support #15875
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
Conversation
|
This pull request has been mentioned on openHAB Community. There might be relevant details there: https://community.openhab.org/t/chamberlain-myq-binding/4192/1018 |
03487c1 to
ca7ef21
Compare
...g.mqtt.generic/src/main/java/org/openhab/binding/mqtt/generic/values/RollershutterValue.java
Outdated
Show resolved
Hide resolved
...g.mqtt.generic/src/main/java/org/openhab/binding/mqtt/generic/values/RollershutterValue.java
Outdated
Show resolved
Hide resolved
|
LGTM |
|
Please note there is a conflicting file. |
* Add support for covers that report position * Handle when command and state values for OPEN/CLOSE/STOP differ (as they do by default) * Expose the full cover state, since it can have tell you if the cover is moving or not * Handle covers that have a position only, but not a state Signed-off-by: Cody Cutrer <cody@cutrer.us>
Signed-off-by: Cody Cutrer <cody@cutrer.us>
Signed-off-by: Cody Cutrer <cody@cutrer.us>
it was unnecessary Signed-off-by: Cody Cutrer <cody@cutrer.us>
157202c to
0e68254
Compare
|
Rebased and resolved trivial merge conflict (#15427 modified a line that this PR completely changed anyway). |
|
Anything pending before this can be merged? |
|
@lolodomo : I'd love to get this one merged. It's the last piece needed so that the ratgdo ESPHome build works well with openHAB, which is shaping up to be a popular replacement for MyQ. See the last several (hundred?) posts in https://community.openhab.org/t/chamberlain-myq-binding/4192. |
lolodomo
left a comment
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.
Just one question
...assistant/src/main/java/org/openhab/binding/mqtt/homeassistant/internal/component/Cover.java
Show resolved
Hide resolved
* [mqtt.homeassistant] improve Cover support * Add support for covers that report position * Handle when command and state values for OPEN/CLOSE/STOP differ (as they do by default) * Expose the full cover state, since it can have tell you if the cover is moving or not * Handle covers that have a position only, but not a state * add constants to clarify up/down values * Be sure to parse percents from strings in RollshutterValue --------- Signed-off-by: Cody Cutrer <cody@cutrer.us> Signed-off-by: Jørgen Austvik <jaustvik@acm.org>
* [mqtt.homeassistant] improve Cover support * Add support for covers that report position * Handle when command and state values for OPEN/CLOSE/STOP differ (as they do by default) * Expose the full cover state, since it can have tell you if the cover is moving or not * Handle covers that have a position only, but not a state * add constants to clarify up/down values * Be sure to parse percents from strings in RollshutterValue --------- Signed-off-by: Cody Cutrer <cody@cutrer.us>
Fixes #15845