Add kelvin/brightness_pct to light.turn_on (#2653)

This commit is contained in:
Anders Melchiorsen 2017-05-18 10:15:08 +02:00 committed by Fredrik Lindqvist
parent 4126a6732b
commit 4fd7b90020

View File

@ -38,8 +38,10 @@ Turns one light on or multiple lights on using [groups]({{site_root}}/components
| `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.
| `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)
| `color_temp` | yes | An INT in mireds representing the color temperature you want the light to be.
| `kelvin` | yes | Alternatively, you can specify the color temperature in Kelvin.
| `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.
| `brightness` | yes | Integer between 0 and 255 for how bright the color should be.
| `brightness_pct`| yes | Alternatively, you can specify brightness in percent (a number between 0 and 100).
| `flash` | yes | Tell light to flash, can be either value `short` or `long`. *not supported by Wink
| `effect`| yes | Applies an effect such as `colorloop` or `random`.