-
-
Notifications
You must be signed in to change notification settings - Fork 37.2k
Use hue/sat as internal light color interface #11288
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
Merged
Merged
Changes from all commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
b91121f
Accept and report both xy and RGB color for lights
emlove fe4e1b7
Fix demo light supported_features
emlove f7d52d8
Add new XY color util functions
emlove a2605bc
Always make color changes available as xy and RGB
emlove ea030ae
Always expose color as RGB and XY
emlove dcbc294
Consolidate color supported_features
emlove aa5e313
Test fixes
emlove e250ab1
Merge branch 'dev' into light-api-color-compatibility
emlove ddc08ef
Additional test fix
emlove 713cec4
Use hue/sat as the hass core color interface
emlove 051c874
Tests updates
emlove c0bd74a
Assume MQTT RGB devices need full RGB brightness
emlove d28724a
Merge branch 'dev' into light-api-color-compatibility
emlove 2236c05
Convert new platforms
emlove e83feb3
Merge branch 'dev' into light-api-color-compatibility
emlove 14cffe2
Merge branch 'dev' into light-api-color-compatibility
emlove 1ee6a9f
More migration
emlove 8122e1d
Use float for HS API
emlove 35de1cf
Fix backwards conversion for KNX lights
emlove 7251cf2
Adjust limitless min saturation for new scale
emlove File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This seems to drop
request[API_PAYLOAD]['color']['brightness']because RGB now ignores brightness.With the available input data I would expect
hs_colorandbrightnessto be used.