Updated the note about initial_state (#4950)

In the note box, the formatting was lost. Tweaked wording slightly too.
This commit is contained in:
DubhAd 2018-03-19 11:25:19 +00:00 committed by Franck Nijhof
parent 07aec2ca9d
commit 1103c07589

View File

@ -47,14 +47,12 @@ 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.
You have to set an initial state in your automations in order for Home Assistant to enable them upon restart.
```text
automation:
- alias: Automation Name
initial_state: True
trigger:
...
```
</p>