-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: HA light entity color conversions
Extract and convert color information from received HA light entities. Supported color modes: hs, xy, rgb Assumption: HA sends the color_mode of the light, plus converted color models. For example if the color_mode is `rgb`, then `hs` and `xy` modes are included as well. Include color model conversions as fallback, since the HA documentation isn't very specific about the returned data. Fixes #7
- Loading branch information
Showing
3 changed files
with
478 additions
and
28 deletions.
There are no files selected for viewing
This file contains 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.