mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-19 07:17:14 +00:00
Add effect attribute to light component (#603)
This commit is contained in:
parent
99b9bb6efe
commit
7d2a98c47b
@ -41,6 +41,7 @@ Turns one light on or multiple lights on using [groups]({{site_root}}/components
|
|||||||
| `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.
|
| `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.
|
||||||
| `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 color should be.
|
||||||
| `flash` | yes | Tell light to flash, can be either value `short` or `long`. *not supported by Wink
|
| `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`.
|
||||||
|
|
||||||
### {% linkable_title Service `light.turn_off` %}
|
### {% linkable_title Service `light.turn_off` %}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user