Fix boolean vs string in scene YAML examples (#13985)

This commit is contained in:
Franck Nijhof 2020-07-13 13:04:07 +02:00 committed by GitHub
parent 1aaf9696ad
commit 9ddb9f3b0e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 15 additions and 15 deletions

View File

@ -10,21 +10,21 @@ You can create scenes that capture the states you want certain entities to be. F
scene:
- name: Romantic
entities:
light.tv_back_light: on
light.tv_back_light: "on"
light.ceiling:
state: on
state: "on"
xy_color: [0.33, 0.66]
brightness: 200
- name: Movies
entities:
light.tv_back_light:
state: on
state: "on"
brightness: 125
light.ceiling: off
media_player.sony_bravia_tv:
state: on
state: "on"
source: HDMI 1
state: on
state: "on"
```
{% configuration %}
@ -75,11 +75,11 @@ automation:
data:
entities:
light.tv_back_light:
state: on
state: "on"
brightness: 100
light.ceiling: off
media_player.sony_bravia_tv:
state: on
state: "on"
source: HDMI 1
```

View File

@ -18,19 +18,19 @@ scene:
- name: Romantic
icon: "mdi:flower-tulip"
entities:
light.tv_back_light: on
light.tv_back_light: "on"
light.ceiling:
state: on
state: "on"
xy_color: [0.33, 0.66]
brightness: 200
- name: Movies
entities:
light.tv_back_light:
state: on
state: "on"
brightness: 125
light.ceiling: off
media_player.sony_bravia_tv:
state: on
state: "on"
source: HDMI 1
```
@ -86,11 +86,11 @@ automation:
data:
entities:
light.tv_back_light:
state: on
state: "on"
brightness: 100
light.ceiling: off
media_player.sony_bravia_tv:
state: on
state: "on"
source: HDMI 1
```
@ -145,11 +145,11 @@ automation:
scene_id: my_scene
entities:
light.tv_back_light:
state: on
state: "on"
brightness: 100
light.ceiling: off
media_player.sony_bravia_tv:
state: on
state: "on"
source: HDMI 1
```