mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-23 17:27:19 +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"
|
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 %}
|
{% configuration %}
|
||||||
name:
|
name:
|
||||||
description: Friendly name of scene.
|
description: Friendly name of the scene.
|
||||||
|
required: true
|
||||||
|
type: string
|
||||||
|
description:
|
||||||
|
description: Description of the scene.
|
||||||
required: true
|
required: true
|
||||||
type: string
|
type: string
|
||||||
entities:
|
entities:
|
||||||
@ -37,6 +47,7 @@ entities:
|
|||||||
required: true
|
required: true
|
||||||
type: list
|
type: list
|
||||||
{% endconfiguration %}
|
{% endconfiguration %}
|
||||||
|
```
|
||||||
|
|
||||||
As you can see, there are two ways to define the states of each `entity_id`:
|
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