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

Disable xy if colormode is not xy #31

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

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 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.

None yet

2 participants