From c505bdf26b8742b5dd97776c38b240271c38629e Mon Sep 17 00:00:00 2001 From: zewelor Date: Thu, 7 Mar 2019 19:15:22 +0100 Subject: [PATCH] Allow light.toggle service to accept all service light turn on params (#8612) * Allow light.toggle service to accept all service light turn on params * Minor change --- source/_components/light.markdown | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/source/_components/light.markdown b/source/_components/light.markdown index 0b6ffb23f5b..2d7bd0445f7 100644 --- a/source/_components/light.markdown +++ b/source/_components/light.markdown @@ -76,11 +76,8 @@ Turns one or multiple lights off. ### {% linkable_title Service `light.toggle` %} -Toggles the state of one or multiple lights using [groups]({{site_root}}/components/group/). +Toggles the state of one or multiple lights using [groups]({{site_root}}/components/group/). +Takes the same arguments as [`turn_on`](#service-lightturn_on) service. *Note*: If `light.toggle` is used for a group of lights, it will toggle the individual state of each light. -| 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` | yes | Integer that represents the time the light should take to transition to the new state in seconds.