mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-05-30 23:06:49 +00:00

* Update history.markdown mentioned that this is included in default_config * Update automation.markdown mentioned that this is included in default_config * Update cloud.markdown mentioned that this is included in default_config * Update config.markdown mentioned that this is included in default_config * Update frontend.markdown mentioned that this is included in default_config * Update logbook.markdown mentioned that this is included in default_config * Update map.markdown mentioned that this is included in default_config * Update person.markdown mentioned that this is included in default_config * Update ssdp.markdown mentioned that this is included in default_config * Update sun.markdown mentioned that this is included in default_config * Update system_health.markdown made default_config blurb more consistent * Update updater.markdown mentioned that this is included in default_config * Update zeroconf.markdown mentioned that this is included in default_config * Update automation.markdown linked default_config * Update cloud.markdown linked default_config * Update config.markdown linked default_config * Update frontend.markdown linked default_config * Update history.markdown linked default_config * Update logbook.markdown linked default_config * Update map.markdown linked default_config * Update mobile_app.markdown linked default_config * Update person.markdown linked default_config * Update ssdp.markdown linked default_config * Update sun.markdown linked default_config * Update light.mqtt.markdown typo fix
43 lines
1.2 KiB
Markdown
43 lines
1.2 KiB
Markdown
---
|
|
title: "Automation"
|
|
description: "Instructions on how to setup automation within Home Assistant."
|
|
logo: home-assistant.png
|
|
ha_category:
|
|
- Automation
|
|
ha_qa_scale: internal
|
|
ha_release: 0.7
|
|
---
|
|
|
|
Please see the [docs section](/docs/automation/) for in-depth
|
|
documentation on how to use the automation component.
|
|
|
|
<p class='img'>
|
|
<img src='{{site_root}}/images/screenshots/automation-switches.png' />
|
|
</p>
|
|
|
|
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.
|
|
|
|
```yaml
|
|
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:`](https://www.home-assistant.io/integrations/default_config/) line from your configuration. If that is the case, the following example shows you how to enable this integration manually:
|
|
|
|
```yaml
|
|
# Example configuration.yaml entry
|
|
automation:
|
|
```
|