Merge pull request #70 from CCOSTAN/patch-6

Light Service required attributes change
This commit is contained in:
Fabian Affolter 2015-09-23 07:56:18 +02:00
commit a7ca1c1386

View File

@ -33,17 +33,17 @@ The light component supports multiple entries in <code>configuration.yaml</code>
### Service `light.turn_on`
Turns one or multiple lights on.
Turns one light on or multiple lights on using [groups]({{site_root}}/components/group.html).
| Service data attribute | Optional | Description |
| ---------------------- | -------- | ----------- |
| `entity_id` | no | Only act on specified lights. Else targets all.
| `transition_seconds` | no | Seconds to take to switch to new state.
| `profile` | no | Which light profile to use.
| `xy_color` | no | Two comma seperated floats that represent the color in XY
| `rgb_color` | no | Three comma seperated integers that represent the color in RGB
| `brightness` | no | Integer between 0 and 255 for how bright the color should be
| `flash` | no | Tell light to flash, can be either value `short` or `long`
| `transition` | yes | Seconds to take to switch to new state. *not supported by Wink
| `profile` | yes | Which light profile to use.
| `xy_color` | yes | Two comma seperated floats that represent the color in XY
| `rgb_color` | yes | Three comma seperated integers that represent the color in RGB
| `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
### Service `light.turn_off`