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

(Z2M) OSRAM AC025XX00NJ / Philips 8718699693985: fix and update #615

Merged
merged 4 commits into from
Jan 5, 2025

Conversation

alexdelprete
Copy link
Contributor

Proposed change*

Fix for OSRAM AC025XX00NJ SMART+ Switch Mini:

  • Updated Actions Mapping as per Z2M docs for the device

Update for Philips 8718699693985 Hue Smart Button:

  • Added support for Zigbee2MQTT

Checklist*

  • I followed sections of the Contribution Guidelines relevant to changes I'm proposing.
  • I properly tested proposed changes on my system and confirm that they are working as expected.
  • I formatted files with Prettier using the command npm run format before submitting my Pull Request.

Copy link
Contributor

Hey @alexdelprete, thank you so much for your contribution! 🚀

🔄 We're currently running a few checks to make sure that everything is great with your contribution.
If further actions need to be performed before your contribution can be reviewed, additional guidance will be provided to you in the next comment.

Results are coming soon, stay tuned!

Copy link
Owner

@EPMatt EPMatt 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 for your contribution @alexdelprete! 🚀 I will make sure to update the blueprint with changes introduced by previous PRs on the IKEA controllers, update docs and changelog before merging.

button_down_short: [down]
button_down_long: [down_hold]
button_down_release: [down_release]
# source: https://www.zigbee2mqtt.io/devices/AC0251100NJ_AC0251600NJ_AC0251700NJ.html#actions
Copy link
Owner

Choose a reason for hiding this comment

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

Nice idea to add a comment with the source! We should keep it in mind for the other controllers as well.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I learned this the hard way: when I find useful info for an integration, and I don't write it in the code, I have a hard time finding it again. A best practice I learned studying code of expert devs. I'm just an old tinkerer. :)

@@ -141,17 +149,28 @@ variables:
button_short: [on_short_release]
button_long: [on_hold]
button_release: [on_long_release]
zigbee2mqtt:
# source: https://www.zigbee2mqtt.io/devices/8718699693985.html#action-enum
Copy link
Owner

Choose a reason for hiding this comment

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

well done 👍🏻

Copy link
Contributor Author

Choose a reason for hiding this comment

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

So much time has passed that I even forgot I made this PR. Thanks for merging it.

Copy link
Contributor

github-actions bot commented Jan 5, 2025

Hey @EPMatt, thank you so much for your contribution! 🚀

🔄 We're currently running a few checks to make sure that everything is great with your contribution.
If further actions need to be performed before your contribution can be reviewed, additional guidance will be provided to you in the next comment.

Results are coming soon, stay tuned!

Copy link
Contributor

github-actions bot commented Jan 5, 2025

Hey @EPMatt,

✅ Your contribution passed all the checks, awesome!
A maintainer will soon review your submission and provide additional feedback regarding your changes.

Thanks again for dedicating your precious time to this project. 🔥

📝 Updated blueprints included in this PR can be tested by importing them in Home Assistant via the following links.

https://github.com/alexdelprete/awesome-ha-blueprints/blob/main/blueprints/controllers/osram_ac025xx00nj/osram_ac025xx00nj.yaml
https://github.com/alexdelprete/awesome-ha-blueprints/blob/main/blueprints/controllers/philips_8718699693985/philips_8718699693985.yaml

@EPMatt EPMatt merged commit baf659f into EPMatt:main Jan 5, 2025
5 checks passed
@EPMatt EPMatt changed the title OSRAM AC025XX00NJ / Philips 8718699693985: fix and update (Z2M) OSRAM AC025XX00NJ / Philips 8718699693985: fix and update Jan 5, 2025
github-actions bot pushed a commit that referenced this pull request Jan 5, 2025
…18699693985: fix and update (#615)

* Updated actions_mapping for Zigbee2MQTT

Updated Actions Mapping as per Z2M docs: https://www.zigbee2mqtt.io/devices/AC0251100NJ_AC0251600NJ_AC0251700NJ.html#actions

* Added Zigbee2MQTT support for Philips 8718699693985 Hue Smart Button

* copy new helper json marshaling from ikea controllers, bump version to 2025.01.05

* docs: add z2m support, update changelog

---------

Co-authored-by: EPMatt <[email protected]>
moralmunky added a commit to moralmunky/awesome-ha-blueprints that referenced this pull request Jan 5, 2025
(Z2M) OSRAM AC025XX00NJ / Philips 8718699693985: fix and update (EPMatt#615)
Copy link
Contributor

github-actions bot commented Feb 5, 2025

Hi there,

🔒 This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. If you want to submit a contribution to the project, you can open a new PR.

Thanks!

@github-actions github-actions bot locked and limited conversation to collaborators Feb 5, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants