From 9ddb9f3b0ee556eb8663ba6b1cc0a00f41d30ede Mon Sep 17 00:00:00 2001 From: Franck Nijhof Date: Mon, 13 Jul 2020 13:04:07 +0200 Subject: [PATCH] Fix boolean vs string in scene YAML examples (#13985) --- source/_docs/scene.markdown | 14 +++++++------- source/_integrations/scene.markdown | 16 ++++++++-------- 2 files changed, 15 insertions(+), 15 deletions(-) diff --git a/source/_docs/scene.markdown b/source/_docs/scene.markdown index 4ea7d57eac1..8275f5a0103 100644 --- a/source/_docs/scene.markdown +++ b/source/_docs/scene.markdown @@ -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 ``` diff --git a/source/_integrations/scene.markdown b/source/_integrations/scene.markdown index 8ff73965c80..990247788e5 100644 --- a/source/_integrations/scene.markdown +++ b/source/_integrations/scene.markdown @@ -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 ```