mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-22 16:56:50 +00:00
Update config for scenes (#19605)
Co-authored-by: Franck Nijhof <git@frenck.dev>
This commit is contained in:
parent
16cf6f4ed7
commit
3dcf4c126b
@ -27,9 +27,19 @@ scene:
|
||||
state: "on"
|
||||
```
|
||||
|
||||
## How to configure your scene
|
||||
|
||||
In the scene you define in your YAML files, please ensure you use
|
||||
all required parameters as listed below.
|
||||
|
||||
```yaml
|
||||
{% configuration %}
|
||||
name:
|
||||
description: Friendly name of scene.
|
||||
name:
|
||||
description: Friendly name of the scene.
|
||||
required: true
|
||||
type: string
|
||||
description:
|
||||
description: Description of the scene.
|
||||
required: true
|
||||
type: string
|
||||
entities:
|
||||
@ -37,6 +47,7 @@ entities:
|
||||
required: true
|
||||
type: list
|
||||
{% endconfiguration %}
|
||||
```
|
||||
|
||||
As you can see, there are two ways to define the states of each `entity_id`:
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user