Skip to content

Commit e0f45d2

Browse files
amelchiofabaff
authored andcommitted
Only CSS3 color names are supported now (home-assistant#2427)
The "chucknorris" reference and SO link is amusing to developers but it's just a waste of users' time to put it in the documentation. Even worse, since home-assistant/core#2215, "chucknorris" is not even supported but will default to "white".
1 parent ca8b495 commit e0f45d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/_components/light.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ Turns one light on or multiple lights on using [groups]({{site_root}}/components
3838
| `xy_color` | yes | A list containing two floats representing the xy color you want the light to be. Two comma separated floats that represent the color in XY.
3939
| `rgb_color` | yes | A list containing three integers representing the rgb color you want the light to be. Three comma separated integers that represent the color in RGB. You can find a great chart here: [Hue Color Chart](http://www.developers.meethue.com/documentation/hue-xy-values)
4040
| `color_temp` | yes | An INT in mireds representing the color temperature you want the light to be.
41-
| `color_name` | yes | A human readable string of a color name, such as `blue` or `goldenrod` or [`chucknorris`](http://stackoverflow.com/questions/8318911/why-does-html-think-chucknorris-is-a-color). If your browser can display it, so can Home Assistant.
41+
| `color_name` | yes | A human readable string of a color name, such as `blue` or `goldenrod`. All [`CSS3 color names`](https://www.w3.org/TR/2010/PR-css3-color-20101028/#svg-color) are supported.
4242
| `brightness` | yes | Integer between 0 and 255 for how bright the color should be.
4343
| `flash` | yes | Tell light to flash, can be either value `short` or `long`. *not supported by Wink
4444
| `effect`| yes | Applies an effect such as `colorloop` or `random`.

0 commit comments

Comments
 (0)