Add information for "initial_state: True" change (#2584)

https://community.home-assistant.io/t/automations-not-triggered-anymore/16118
This commit is contained in:
ChadCurvin 2017-05-07 02:16:22 -06:00 committed by Fabian Affolter
parent 59d1c78099
commit d31561b85d

View File

@ -47,3 +47,14 @@ State changes can be used as the source of triggers and the current state can be
Actions are all about calling services. To explore the available services open the <img src='/images/screenshots/developer-tool-services-icon.png' class='no-shadow' height='38' /> Services developer tool. Services allow to change anything. For example turn on a light, run a script or enable a scene. Each service has a domain and a name. For example the service `light.turn_on` is capable of turning on any light in your system. Services can be passed parameters to for example tell which device to turn on or what color to use.
<p class='note'>
As of version 0.42 you have to set an initial state in your automations in order for Home Assistant to restore them upon restart.
```text
- alias: Automation Name
initial_state: True
trigger:
...
```
</p>