forked from home-assistant/core
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Accept human readable color names to change light colors (home-assist…
…ant#2075) * Add support for providing color_name which accepts a CSS3 valid, human readable string such as red or blue * Forgot the schema validation! * ugh farcy * use html5_parse_legacy_color for more input options * Add webcolors==1.5 to setup.py * Block pylint no-member errors on tuple * add color_name_to_rgb test * whoops * revert changes to individual platforms * If color_name is set, pop it off params and set rgb_color with it * Forgot to reset wink.py * Import the legacy function as color_name_to_rgb directly * reset test_color.py * Improve light services.yaml
- Loading branch information
1 parent
7208ff5
commit a431277
Showing
5 changed files
with
17 additions
and
1 deletion.
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
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,6 +18,7 @@ | |
'vincenty==0.1.4', | ||
'jinja2>=2.8', | ||
'voluptuous==0.8.9', | ||
'webcolors==1.5', | ||
] | ||
|
||
setup( | ||
|