Update light.markdown (#7772)

This commit is contained in:
emontnemery 2018-12-14 04:01:47 +01:00 committed by Zack Arnett
parent fe00c4e610
commit b3957439c7

View File

@ -39,7 +39,7 @@ Most lights do not support all attributes. You can check the platform documentat
| `color_temp` | yes | An integer 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/css-color-3/#svg-color) are supported.
| `brightness` | yes | Integer between 0 and 255 for how bright the color should be.
| `brightness` | yes | Integer between 0 and 255 for how bright the light 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`.
| `effect`| yes | Applies an effect such as `colorloop` or `random`.