From d6df7b1e105238cfbbb81915c6fde9f362b42870 Mon Sep 17 00:00:00 2001 From: Erik Montnemery Date: Mon, 2 Aug 2021 13:28:06 +0200 Subject: [PATCH] Update scene examples (#18675) --- source/_integrations/scene.markdown | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/source/_integrations/scene.markdown b/source/_integrations/scene.markdown index 6ce6fcf82ca..e3b44220cf8 100644 --- a/source/_integrations/scene.markdown +++ b/source/_integrations/scene.markdown @@ -12,7 +12,7 @@ ha_domain: scene You can create scenes that capture the states you want certain entities to be. For example, a scene can specify that light A should be turned on and light B should be bright red. -Scenes can be created and managed via the user interface using the [Scene Editor](/docs/scene/editor/). They can also be configured via `configuration.yaml`: +Scenes can be created and managed via the user interface using the [Scene Editor](/docs/scene/editor/). They can also be manually configured via `configuration.yaml`. Note that the entity data is not service call parameters, it's a representation of the wanted state: ```yaml # Example configuration.yaml entry @@ -23,17 +23,26 @@ scene: light.tv_back_light: "on" light.ceiling: state: "on" - xy_color: [0.33, 0.66] brightness: 200 + color_mode: "xy" + xy_color: [0.33, 0.66] - name: Movies entities: light.tv_back_light: state: "on" brightness: 125 - light.ceiling: off + light.ceiling: "off" media_player.sony_bravia_tv: state: "on" source: HDMI 1 + - name: Standard + entities: + light.tv_back_light: + state: "off" + light.ceiling: + state: "on" + brightness: 125 + color_mode: "white" ``` {% configuration %}