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

Ported Custom Philips Clusters From Herdsman To ModernExtends #8882

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

danieledwardgeorgehitchcock
Copy link
Contributor

@danieledwardgeorgehitchcock danieledwardgeorgehitchcock commented Feb 24, 2025

This is a draft pull request intended to begin the moving of manufacturerSpecific clusters out of the Herdsman Clusters specification and into the modernExtends format in preparation for some larger re-factoring taking place for the work done by @chrivers in the Bifrost project.

At present, this is just a lift and drop of the cluster specs as they are in Herdsman (will create a separate PR in that repo for removal).

Once I have got this over the line, I will begin porting across the newly documented cluster attributes / commands / responses

@danieledwardgeorgehitchcock danieledwardgeorgehitchcock marked this pull request as ready for review February 26, 2025 07:44
@@ -94,7 +94,29 @@ const philipsModernExtend = {
result.exposes.push(...exposeEndpoints(e.enum("effect", ea.SET, effects), args.endpointNames));
}

const customCluster = m.deviceAddCustomCluster("manuSpecificPhilips3", {
const customClusterFC00 = m.deviceAddCustomCluster("manuSpecificPhilips", {
Copy link
Owner

Choose a reason for hiding this comment

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

This code is only executed for Philips devices using philipsLight(), there are also e.g. plugs and motion sensors that have these clusters. Maybe we should create a new philipsCustomClusters() modern extend?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thanks for the review! I'll get right on it!

@Koenkk
Copy link
Owner

Koenkk commented Mar 1, 2025

Note to self; after this merge Koenkk/zigbee-herdsman#1326

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants