home-assistant.io/source/_docs/automation/using_blueprints.markdown
Franck Nijhof a764f28b8a
Add link from using blueprint to creating blueprint (#17467)
* Add link from using blueprint to creating blueprint

* Update source/_docs/automation/using_blueprints.markdown

Co-authored-by: Klaas Schoute <klaas_schoute@hotmail.com>

Co-authored-by: Klaas Schoute <klaas_schoute@hotmail.com>
2021-04-16 12:58:28 +02:00

2.6 KiB

title description
Using Automation Blueprints How to create automations based off blueprints.

Automation blueprints are pre-made automations that you can easily add to your Home Assistant instance. Each blueprint can be added as many times as you want.

Quick links:

Blueprint Automations

Automations based on a blueprint only need to be configured to be used. What needs to be configured differs on each blueprint.

To create your first automation based on a blueprint, go to {% my config %} and then {% my blueprints %}. Find the blueprint that you want to use and click on "Create Automation".

This will open the automation editor with the blueprint selected. Give it a name and configure the blueprint and click on the blue button "Save Automation" in the bottom right.

Done! If you want to revisit the configuration values, you can find it by going to {% my config %} and then {% my automations %}.

Importing blueprints

Home Assistant can import blueprints from the Home Assistant forums, GitHub and GitHub gists.

To do this, first find a blueprint you want to import. If you just want to practice importing, you can use this URL:

https://github.com/home-assistant/core/blob/dev/homeassistant/components/automation/blueprints/motion_light.yaml

Go to {% my config %} and then {% my blueprints %}. Click on the blue "{% my blueprint_import blueprint="https://github.com/home-assistant/core/blob/master/homeassistant/components/automation/blueprints/motion_light.yaml" %} button in the bottom right.

A new dialog will pop-up asking you for the URL. Enter the URL and click on "preview blueprint".

This will load the blueprint and show a preview in the import dialog. You can change the name and finish the import.

The blueprint can now be used for creating automations.

Finding new blueprints

The Home Assistant Community forums have a specific tag for blueprints. This tag is used to collect all blueprints.

Visit the Home Assistant forums

Creating new blueprints

Using blueprints is nice and easy, but what if you could create that one missing blueprint that our community definitely needs?

Learn more about blueprint by reading our tutorial on creating a blueprint.

Troubleshooting missing automations

When you're creating automations using blueprints 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.