home-assistant.io/source/_docs/blueprint.markdown
Erik Montnemery eb28e8a421
Add some hints about script blueprints (#24134)
Co-authored-by: Franck Nijhof <git@frenck.dev>
2022-09-15 15:46:54 +02:00

1.2 KiB

title description
Creating blueprints Documentation on how to get started creating blueprints.

If you're looking on how to use blueprints, see the automation documentation.

While the tutorial only shows how to create an automation blueprint, scripts also support blueprints in the same way.

A blueprint is a script or automation configuration with certain parts marked as configurable. This allows users to create multiple scripts or automations based on the same blueprint, with each having its own configuration.

Imagine a blueprint that controls a light based on motion, that allows you to configure the motion sensor to trigger on, and the light to control. It is now possible to create two automations that each have their own configuration for this blueprint and that act completely independent, yet are based on the same automation configuration.

This is an advanced feature and requires knowledge of writing automations and scripts in YAML.

Tutorial: Create an automation blueprint »