From e2896d30d02b8485f91fa28330414961c2b75100 Mon Sep 17 00:00:00 2001 From: a-r-j-a-n Date: Tue, 15 Oct 2019 11:34:26 +0200 Subject: [PATCH] Update automation.markdown (#10786) * Update automation.markdown Service notation changed to yaml. * :pencil2: Tweak --- source/getting-started/automation.markdown | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/source/getting-started/automation.markdown b/source/getting-started/automation.markdown index b3827c46a52..2884514121c 100644 --- a/source/getting-started/automation.markdown +++ b/source/getting-started/automation.markdown @@ -28,7 +28,11 @@ In the trigger section, click on the dropdown and change trigger type to "Sun". A new automation with a sun trigger filled in.

-Once we have defined our trigger, scroll down to the action section. Make sure the action type is set to "Call Service" and change the service to `light.turn_on`. For this automation we're going to turn on all lights, so let's change the service data to `{ "entity_id": "all" }`. +Once we have defined our trigger, scroll down to the action section. Make sure the action type is set to "Call Service" and change the service to `light.turn_on`. For this automation we're going to turn on all lights, so let's change the service data to: + +```yaml +entity_id: all +```