Skip to content
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

[mqtt.homeassistant] Improve support for Lock component #16052

Merged
merged 3 commits into from Jan 2, 2024

Conversation

ccutrer
Copy link
Contributor

@ccutrer ccutrer commented Dec 11, 2023

  • handle state and command payloads differing (as they do by default)
  • expose full state possibilities and OPEN command by adding a TextValue channel

 * handle state and command payloads differing (as they do by default)
 * expose full state possibilities and OPEN command by adding
   a TextValue channel

Signed-off-by: Cody Cutrer <cody@cutrer.us>
@lolodomo lolodomo added the enhancement An enhancement or new feature for an existing add-on label Dec 12, 2023
@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/help-with-mqtt/151535/11

Copy link
Contributor

@antroids antroids left a comment

Choose a reason for hiding this comment

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

LGTM,
Thank you!

Signed-off-by: Cody Cutrer <cody@cutrer.us>
Copy link
Member

@kaikreuzer kaikreuzer left a comment

Choose a reason for hiding this comment

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

lgtm, thanks!

@kaikreuzer kaikreuzer merged commit a53b740 into openhab:main Jan 2, 2024
2 of 3 checks passed
@kaikreuzer kaikreuzer added this to the 4.2 milestone Jan 2, 2024
@ccutrer ccutrer deleted the mqtt-homeassistant-lock branch January 2, 2024 21:55
Cybso pushed a commit to Cybso/openhab-addons that referenced this pull request Jan 5, 2024
* [mqtt.homeassistant] Improve support for Lock component

 * handle state and command payloads differing (as they do by default)
 * expose full state possibilities and OPEN command by adding
   a TextValue channel
* Recognize intermediate lock states as unlocked on the switch channel

Signed-off-by: Cody Cutrer <cody@cutrer.us>
austvik pushed a commit to austvik/openhab-addons that referenced this pull request Mar 27, 2024
* [mqtt.homeassistant] Improve support for Lock component

 * handle state and command payloads differing (as they do by default)
 * expose full state possibilities and OPEN command by adding
   a TextValue channel
* Recognize intermediate lock states as unlocked on the switch channel

Signed-off-by: Cody Cutrer <cody@cutrer.us>
Signed-off-by: Jørgen Austvik <jaustvik@acm.org>
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.

None yet

5 participants