Accept human readable color names to change light colors (#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
This commit is contained in:
parent
7208ff515e
commit
a431277de1
5 changed files with 17 additions and 1 deletions
1
setup.py
1
setup.py
|
@ -18,6 +18,7 @@ REQUIRES = [
|
|||
'vincenty==0.1.4',
|
||||
'jinja2>=2.8',
|
||||
'voluptuous==0.8.9',
|
||||
'webcolors==1.5',
|
||||
]
|
||||
|
||||
setup(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue