mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-15 05:16:49 +00:00
Fix boolean vs string in scene YAML examples (#13985)
This commit is contained in:
parent
1aaf9696ad
commit
9ddb9f3b0e
@ -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
|
||||
```
|
||||
|
||||
|
@ -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
|
||||
```
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user