Skip to content

Commit c505bdf

Browse files
zewelorfabaff
authored andcommitted
Allow light.toggle service to accept all service light turn on params (home-assistant#8612)
* Allow light.toggle service to accept all service light turn on params * Minor change
1 parent 418869c commit c505bdf

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

source/_components/light.markdown

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -76,11 +76,8 @@ Turns one or multiple lights off.
7676

7777
### {% linkable_title Service `light.toggle` %}
7878

79-
Toggles the state of one or multiple lights using [groups]({{site_root}}/components/group/).
79+
Toggles the state of one or multiple lights using [groups]({{site_root}}/components/group/).
80+
Takes the same arguments as [`turn_on`](#service-lightturn_on) service.
8081

8182
*Note*: If `light.toggle` is used for a group of lights, it will toggle the individual state of each light.
8283

83-
| Service data attribute | Optional | Description |
84-
| ---------------------- | -------- | ----------- |
85-
| `entity_id` | no | String or list of strings that point at `entity_id`s of lights. Else targets all.
86-
| `transition` | yes | Integer that represents the time the light should take to transition to the new state in seconds.

0 commit comments

Comments
 (0)