From b5b5d32b65473332899dcb15a4334e5cea20772e Mon Sep 17 00:00:00 2001 From: Matthew Donoughe Date: Thu, 10 Oct 2019 15:30:34 -0400 Subject: [PATCH] document scene action for scripts (#10616) script support added in home-assistant/home-assistant#27223 --- source/_docs/scripts.markdown | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/source/_docs/scripts.markdown b/source/_docs/scripts.markdown index bd6679bd9f9..c871b6303da 100644 --- a/source/_docs/scripts.markdown +++ b/source/_docs/scripts.markdown @@ -34,6 +34,14 @@ The most important one is the action to call a service. This can be done in vari brightness: 100 ``` +#### Activate a Scene + +Scripts may also use a shortcut syntax for activating scenes instead of calling the `scene.turn_on` service. + +```yaml +- scene: scene.morning_living_room +``` + ### Test a Condition While executing a script you can add a condition to stop further execution. When a condition does not return `true`, the script will stop executing. There are many different conditions which are documented at the [conditions page].