diff --git a/source/_docs/automation/editor.markdown b/source/_docs/automation/editor.markdown index 025e1b9bb85..6a7ed7b14a4 100644 --- a/source/_docs/automation/editor.markdown +++ b/source/_docs/automation/editor.markdown @@ -5,29 +5,25 @@ description: "Instructions on how to use the automation editor." The automation editor is an easy way of creating and editing automations from the UI. This page uses the [Random sensor](/integrations/random#sensor) as an example, though any other sensor with a numeric value can be used as well. -From the UI, choose **{% my config %}** which is located in the sidebar, then click on **{% my automations %}** to go to the automation editor. Press the **Create Automation** button in the lower right corner to get started. You can create an automation based on a [blueprint](/docs/automation/using_blueprints/) or start from scratch. +From the UI, choose **{% my config %}** which is located in the sidebar, then click on **{% my automations %}** to go to the automation editor. Press the **Create Automation** button in the lower right corner to get started. You can create an automation based on a [blueprint](/docs/automation/using_blueprints/) or start from scratch. Select **Create new automation**. -

- -

+![Create automation dialogue box](/images/docs/automation-editor/create-automation.png) -Select **Start with an empty automation** and choose a meaningful name for your new automation. +Click on the **Add Trigger** button and select **Nurmeric state**. -

- -

+![Add trigger](/images/docs/automation-editor/add-trigger-to-automation.png) If the value of the sensor is greater than 10, then the automation should trigger. -

- -

+![Automation trigger](/images/docs/automation-editor/new-trigger.png) + +Click on the **Add Action** button and select **Call service**. + +![Add trigger](/images/docs/automation-editor/new-action.png) The action for this automation creates a [persistent notification](/integrations/persistent_notification/). -

- -

+![Automation action](/images/docs/automation-editor/send-notification.png) As the message we want a simple text that is shown as part of the notification. @@ -35,6 +31,10 @@ As the message we want a simple text that is shown as part of the notification. message: Sensor value greater than 10 ``` + Press the **Save** button, and the save dialogue will appear. Give your automation a meaningful name and press the **Save** button again. + +![New automation editor](/images/docs/automation-editor/new-automation.png) + Automations created or edited via the user interface are activated immediately after saving the automation. Read the documentation for [Automating Home Assistant](/getting-started/automation/) to learn more about automations. ## Troubleshooting missing automations diff --git a/source/images/docs/automation-editor/add-trigger-to-automation.png b/source/images/docs/automation-editor/add-trigger-to-automation.png new file mode 100644 index 00000000000..aecd2455d78 Binary files /dev/null and b/source/images/docs/automation-editor/add-trigger-to-automation.png differ diff --git a/source/images/docs/automation-editor/create-automation.png b/source/images/docs/automation-editor/create-automation.png index efecf35f947..b2977c7832c 100644 Binary files a/source/images/docs/automation-editor/create-automation.png and b/source/images/docs/automation-editor/create-automation.png differ diff --git a/source/images/docs/automation-editor/new-action.png b/source/images/docs/automation-editor/new-action.png index ad697750f0c..26dc6edc9e2 100644 Binary files a/source/images/docs/automation-editor/new-action.png and b/source/images/docs/automation-editor/new-action.png differ diff --git a/source/images/docs/automation-editor/new-automation.png b/source/images/docs/automation-editor/new-automation.png index 327822a93cc..bf202cae1a5 100644 Binary files a/source/images/docs/automation-editor/new-automation.png and b/source/images/docs/automation-editor/new-automation.png differ diff --git a/source/images/docs/automation-editor/new-trigger.png b/source/images/docs/automation-editor/new-trigger.png index 1311351bb2e..f5395a33f07 100644 Binary files a/source/images/docs/automation-editor/new-trigger.png and b/source/images/docs/automation-editor/new-trigger.png differ diff --git a/source/images/docs/automation-editor/send-notification.png b/source/images/docs/automation-editor/send-notification.png new file mode 100644 index 00000000000..9196647ffe9 Binary files /dev/null and b/source/images/docs/automation-editor/send-notification.png differ