From 5558f0a70df6736af93292a76755b240c8ae13f2 Mon Sep 17 00:00:00 2001 From: Kevin Delaney Date: Sun, 12 Nov 2017 05:05:28 -0500 Subject: [PATCH] Added example description (#3964) --- source/_docs/automation/editor.markdown | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source/_docs/automation/editor.markdown b/source/_docs/automation/editor.markdown index d7f17072139..8db389733c4 100644 --- a/source/_docs/automation/editor.markdown +++ b/source/_docs/automation/editor.markdown @@ -62,6 +62,8 @@ automation old: If you want to migrate your old automations to use the editor, you'll have to copy them to `automations.yaml`. Make sure that `automations.yaml` remains a list! For each automation that you copy over you'll have to add an `id`. This can be any string as long as it's unique. +For example, the below automation will be triggered when the sun goes from below the horizon to above the horizon. Then, if the temperature is between 17 and 25 degrees, a light will be turned on. + ```yaml # Example automations.yaml entry - id: my_unique_id # <-- Required for editor to work.