home-assistant.io/source/_integrations/automation.markdown
Thomas Lovén 52eda4fda1
Replace "docs" with "documentation" (#12284)
* Replace "docs" with "documentation"

* Blacklist docs in Textlint, use documentation instead

* Fix more occurances

Co-authored-by: Franck Nijhof <git@frenck.dev>
2020-03-10 16:17:06 +01:00

1.0 KiB

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

Please see the automation 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: