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

[lutron] Implement button press notifications for Picos from LEAP #16550

Merged
merged 2 commits into from Apr 5, 2024

Conversation

ccutrer
Copy link
Contributor

@ccutrer ccutrer commented Mar 19, 2024

I've only tested this with a PJ2-3BRL connecting to a Caseta SmartBridge 2. But I'm pretty sure I handled all of the id translation correctly for other types of Picos that don't happen to have sequential button ids.

I used pylutron_caseta to guide me somewhat in implementing.

Signed-off-by: Cody Cutrer <cody@cutrer.us>
@ccutrer ccutrer requested a review from bobadair as a code owner March 19, 2024 21:16
@lolodomo lolodomo added the enhancement An enhancement or new feature for an existing add-on label Mar 20, 2024
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.

Only one minor comment

@lolodomo
Copy link
Contributor

@actong @bobadair : would you like to review this change ?

Signed-off-by: Cody Cutrer <cody@cutrer.us>
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.

LGTM, thank you

@lolodomo
Copy link
Contributor

lolodomo commented Mar 29, 2024

@ccutrer : before merging, I will wait for few days so that official binding maintainers can give a feedback.

@lolodomo
Copy link
Contributor

lolodomo commented Apr 5, 2024

No ffeedback so I assume CODEOWNERS file is outdated for this binding.

@lolodomo lolodomo merged commit aebbbdf into openhab:main Apr 5, 2024
3 checks passed
@lolodomo lolodomo added this to the 4.2 milestone Apr 5, 2024
@ccutrer ccutrer deleted the lutron-leap-pico-button-updates branch April 11, 2024 18:35
lo92fr pushed a commit to lo92fr/openhab-addons that referenced this pull request Apr 30, 2024
…enhab#16550)

* [lutron] implement button press notifications for Picos from LEAP
* reverse equality check for null safety

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.

None yet

2 participants