Automating Home Assistant

An automationAutomations in Home Assistant allow you to automatically respond to things that happen in and around your home. [Learn more] makes your home react on its own when something happens, for example, turning on the lights at sunset or pausing the music when you receive a call. You create automations in the automation editor, by choosing from your devicesA device is a model representing a physical or logical unit that contains entities. and entitiesAn entity represents a sensor, actor, or function in Home Assistant. Entities are used to monitor physical properties or to control other entities. An entity is usually part of a device or a service. [Learn more]. No coding is required.

Getting started

Learning more

What you can use in an automation

To look up what you can use in an automation, use the following references:

  • All triggers: every trigger, grouped by integration.
  • All conditions: every condition, grouped by integration.
  • All actions: every action, grouped by integration.
  • All building blocks: the steps that control the flow of actions, such as waiting, choosing, and repeating.
  • Targets: which entities a trigger, condition, or action covers when you select an area, floor, label, or device.
  • Trigger data in templates: the data that each trigger passes to your templates.

Setting up an automation

To create and adjust your automations, refer to the following pages:

Scripts, scenes, and blueprints

Automations often work together with scripts, scenes, and blueprints:

  • Scripts: a saved list of steps that runs when you start it, for example, from an automation or a dashboard.
  • Scenes: set a group of devices to saved states in one step.
  • Blueprints: ready-made automations and scripts that you install and adjust for your own home.

When something doesn’t work