home-assistant.io/source/_integrations/automation.markdown
Franck Nijhof 23b0b57c08
Rename frontmatter ha_qa_scale to ha_quality_scale to match codebase (#11672)
* Rename frontmatter ha_qa_scale to ha_quality_scale to match codebase

* Update all integrations quality scales (done by sync)
2020-01-08 13:10:43 +01:00

1.2 KiB

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

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

This allows one to reload the automation without restarting Home Assistant itself. If you don't want to see the automation rule in your frontend use hide_entity: true to hide it.

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
    hide_entity: true
    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: