From 9c01ec7a2112d5d427aabd6b28bd66221b06cd4c Mon Sep 17 00:00:00 2001 From: Keaton Taylor Date: Wed, 13 Jul 2016 02:31:28 -0500 Subject: [PATCH] Added set_brightness to website docs. (#582) * Added configuration for card order to customize docs * Added configuration options to docs for the set_brightness command. * Revert "Added configuration for card order to customize docs" This reverts commit bd310fbd115c76bc49d994fff4ff3e1a0d0e9540. --- source/_components/light.markdown | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/source/_components/light.markdown b/source/_components/light.markdown index c54acd0ebb6..ebc5497623d 100644 --- a/source/_components/light.markdown +++ b/source/_components/light.markdown @@ -61,3 +61,16 @@ Toggles the state of one or multiple lights using [groups]({{site_root}}/compone | ---------------------- | -------- | ----------- | | `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. + +### {% linkable_title Service `light.set_brightness` %} + +Changes the brightness of one or multiple lights using [groups]({{site_root}}/components/group/). + +*Note*: This currently is only supported by the [Lifx]({{site_root}}/components/light.lifx/ component. + +| 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. +| `brightness` | yes | Integer between 0 and 255 for how bright the color should be. +