Update config for scenes (#19605)

Co-authored-by: Franck Nijhof <git@frenck.dev>
This commit is contained in:
MishManners®™ 2021-10-26 22:04:46 +11:00 committed by GitHub
parent 16cf6f4ed7
commit 3dcf4c126b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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`: