mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-22 08:46:51 +00:00
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.
This commit is contained in:
parent
cd0eecce20
commit
9c01ec7a21
@ -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.
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user