Update light.markdown (#487)
When turning off and when toggling a light, transition is optional
This commit is contained in:
parent
1b8ebd621d
commit
b75fd3dbe5
1 changed files with 2 additions and 2 deletions
|
@ -48,7 +48,7 @@ Turns one or multiple lights off.
|
||||||
| Service data attribute | Optional | Description |
|
| Service data attribute | Optional | Description |
|
||||||
| ---------------------- | -------- | ----------- |
|
| ---------------------- | -------- | ----------- |
|
||||||
| `entity_id` | no | String or list of strings that point at `entity_id`s of lights. Else targets all.
|
| `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` %}
|
### {% 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 |
|
| Service data attribute | Optional | Description |
|
||||||
| ---------------------- | -------- | ----------- |
|
| ---------------------- | -------- | ----------- |
|
||||||
| `entity_id` | no | String or list of strings that point at `entity_id`s of lights. Else targets all.
|
| `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.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue