Update light.markdown (#487)

When turning off and when toggling a light, transition is optional
This commit is contained in:
Dani 2016-05-18 15:45:42 +02:00 committed by Fabian Affolter
parent 1b8ebd621d
commit b75fd3dbe5

View File

@ -48,7 +48,7 @@ Turns one or multiple lights off.
| Service data attribute | Optional | Description |
| ---------------------- | -------- | ----------- |
| `entity_id` | no | String or list of strings that point at `entity_id`s of lights. Else targets all.
| `transition` | no | Integer that represents the time the light should take to transition to the new state.
| `transition` | yes | Integer that represents the time the light should take to transition to the new state.
### {% linkable_title Service `light.toggle` %}
@ -59,4 +59,4 @@ Toggles the state of one or multiple lights using [groups]({{site_root}}/compone
| Service data attribute | Optional | Description |
| ---------------------- | -------- | ----------- |
| `entity_id` | no | String or list of strings that point at `entity_id`s of lights. Else targets all.
| `transition` | no | Integer that represents the time the light should take to transition to the new state.
| `transition` | yes | Integer that represents the time the light should take to transition to the new state.