mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-21 08:16:53 +00:00
Update light.markdown (#487)
When turning off and when toggling a light, transition is optional
This commit is contained in:
parent
1b8ebd621d
commit
b75fd3dbe5
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user