From b21a71ef58a89cc6da473408bbccd7a87293bb18 Mon Sep 17 00:00:00 2001 From: joemcmonagle Date: Thu, 10 Mar 2016 11:39:33 -0500 Subject: [PATCH] Update light.markdown --- source/_components/light.markdown | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/source/_components/light.markdown b/source/_components/light.markdown index 9cf467f247a..56f078f65e3 100644 --- a/source/_components/light.markdown +++ b/source/_components/light.markdown @@ -50,3 +50,13 @@ Turns one or multiple lights off. | `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. +### {% linkable_title Service `light.toggle` %} + +Toggles the state of one or multiple lights using [groups]({{site_root}}/components/group/). + +*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` | no | Integer that represents the time the light should take to transition to the new state.