Automation Editor

The automation editor is an easy way of creating and editing automations from the UI. This page uses the Random sensor as an example, though any other sensor with a numeric value, can be used as well.

From the UI choose Settings which is located in the sidebar, then click on Automations & Scenes 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 or start from scratch.

Select “Start with an empty automation” and choose a meaningful name for your new automation.

If the value of the sensor is greater than 10, then the automation should trigger.

The action for this automation creates a persistent notification.

As the message we want a simple text that is shown as part of the notification.

message: Sensor value greater than 10

Automations created or edited via the user interface are activated immediately after saving the automation. Read the documentation for Automating Home Assistant to learn more about automations.

Troubleshooting missing automations

When you’re creating automations using the GUI and they don’t appear in the UI, make sure that you add back automation: !include automations.yaml from the default configuration to your configuration.yaml.