home-assistant.io/source/_integrations/automation.markdown

1.0 KiB

title, description, logo, ha_category, ha_release, ha_quality_scale, ha_codeowners
title description logo ha_category ha_release ha_quality_scale ha_codeowners
Automation Instructions on how to setup automation within Home Assistant. home-assistant.png
Automation
0.7 internal
@home-assistant/core

Please see the docs section for in-depth documentation on how to use the automation integration.

You can also use initial_state: 'false' so that the automation is not automatically turned on after a Home Assistant reboot.

automation:
  - alias: Door alarm
    initial_state: true
    trigger:
      - platform: state
  ...

Configuration

This integration is by default enabled, unless you've disabled or removed the default_config: line from your configuration. If that is the case, the following example shows you how to enable this integration manually:

# Example configuration.yaml entry
automation: