mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-19 15:26:59 +00:00
entity_id is optional for the light.turn_off service (#2795)
This is to correct the documentation saying that the `entity_id` is optional for the `light.turn_off` service.
This commit is contained in:
parent
bc83d5a0fa
commit
7437259d38
@ -63,7 +63,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.
|
||||
| `entity_id` | yes | String or list of strings that point at `entity_id`s of lights. Else targets all.
|
||||
| `transition` | yes | Integer that represents the time the light should take to transition to the new state in seconds.
|
||||
|
||||
### {% linkable_title Service `light.toggle` %}
|
||||
|
Loading…
x
Reference in New Issue
Block a user