Skip to content
This repository was archived by the owner on Nov 25, 2024. It is now read-only.

Disable xy if colormode is not xy#31

Draft
jaeichel wants to merge 1 commit intoelgatosf:masterfrom
jaeichel:jaeichel-patch-colormode-xy
Draft

Disable xy if colormode is not xy#31
jaeichel wants to merge 1 commit intoelgatosf:masterfrom
jaeichel:jaeichel-patch-colormode-xy

Conversation

@jaeichel
Copy link

I think this addresses the suggestion from #29

I have NOT tested this patch on a group of lights yet and I'm not sure if there are any other ramifications of setting xy = null elsewhere. The StreamDeck UI seems to be ok with the changes and does what I expect, but I haven't tested it very much at this point with real lights.

@jaeichel
Copy link
Author

Where as the HUE API produces a Light state does not product an xy value, the Group action DOES product an xy value even though the colormode says "ct" instead of "xy".

@dkern
Copy link
Contributor

dkern commented Feb 24, 2022

What about if you want to use rgb in a group with mixed modes? There would be a manually decision needed in the ui, or not?

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