mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-16 05:46:52 +00:00
Update scene examples (#18675)
This commit is contained in:
parent
077f32fa88
commit
d6df7b1e10
@ -12,7 +12,7 @@ ha_domain: scene
|
||||
|
||||
You can create scenes that capture the states you want certain entities to be. For example, a scene can specify that light A should be turned on and light B should be bright red.
|
||||
|
||||
Scenes can be created and managed via the user interface using the [Scene Editor](/docs/scene/editor/). They can also be configured via `configuration.yaml`:
|
||||
Scenes can be created and managed via the user interface using the [Scene Editor](/docs/scene/editor/). They can also be manually configured via `configuration.yaml`. Note that the entity data is not service call parameters, it's a representation of the wanted state:
|
||||
|
||||
```yaml
|
||||
# Example configuration.yaml entry
|
||||
@ -23,17 +23,26 @@ scene:
|
||||
light.tv_back_light: "on"
|
||||
light.ceiling:
|
||||
state: "on"
|
||||
xy_color: [0.33, 0.66]
|
||||
brightness: 200
|
||||
color_mode: "xy"
|
||||
xy_color: [0.33, 0.66]
|
||||
- name: Movies
|
||||
entities:
|
||||
light.tv_back_light:
|
||||
state: "on"
|
||||
brightness: 125
|
||||
light.ceiling: off
|
||||
light.ceiling: "off"
|
||||
media_player.sony_bravia_tv:
|
||||
state: "on"
|
||||
source: HDMI 1
|
||||
- name: Standard
|
||||
entities:
|
||||
light.tv_back_light:
|
||||
state: "off"
|
||||
light.ceiling:
|
||||
state: "on"
|
||||
brightness: 125
|
||||
color_mode: "white"
|
||||
```
|
||||
|
||||
{% configuration %}
|
||||
|
Loading…
x
Reference in New Issue
Block a user