这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@ccutrer
Copy link
Contributor

@ccutrer ccutrer commented Nov 9, 2023

Fixes #15845

  • 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

@ccutrer ccutrer requested review from a team and antroids as code owners November 9, 2023 20:52
@openhab-bot
Copy link
Collaborator

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

@ccutrer ccutrer force-pushed the mqtt-homeassistant-cover branch from 03487c1 to ca7ef21 Compare November 9, 2023 22:47
@jlaur jlaur added the enhancement An enhancement or new feature for an existing add-on label Nov 10, 2023
@antroids
Copy link
Contributor

LGTM
Thanks!

@lolodomo
Copy link
Contributor

lolodomo commented Nov 19, 2023

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>
@ccutrer ccutrer force-pushed the mqtt-homeassistant-cover branch from 157202c to 0e68254 Compare November 19, 2023 16:13
@ccutrer
Copy link
Contributor Author

ccutrer commented Nov 19, 2023

Rebased and resolved trivial merge conflict (#15427 modified a line that this PR completely changed anyway).

@ccutrer
Copy link
Contributor Author

ccutrer commented Nov 27, 2023

Anything pending before this can be merged?

@ccutrer
Copy link
Contributor Author

ccutrer commented Dec 7, 2023

@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.

Copy link
Contributor

@lolodomo lolodomo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just one question

@lolodomo lolodomo merged commit 73559be into openhab:main Dec 11, 2023
@lolodomo lolodomo added this to the 4.1 milestone Dec 11, 2023
@ccutrer ccutrer deleted the mqtt-homeassistant-cover branch December 11, 2023 19:48
austvik pushed a commit to austvik/openhab-addons that referenced this pull request Mar 27, 2024
* [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>
joni1993 pushed a commit to joni1993/openhab-addons that referenced this pull request Oct 15, 2024
* [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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement An enhancement or new feature for an existing add-on

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[mqtt.homeassistant] Rollershutter from z-wave-js-ui work only partly

5 participants