Skip to content

Commit 1103c07

Browse files
DubhAdfrenck
authored andcommitted
Updated the note about initial_state (home-assistant#4950)
In the note box, the formatting was lost. Tweaked wording slightly too.
1 parent 07aec2c commit 1103c07

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

source/_docs/automation.markdown

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,14 +47,12 @@ State changes can be used as the source of triggers and the current state can be
4747

4848
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.
4949

50-
<p class='note'>
51-
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.
50+
You have to set an initial state in your automations in order for Home Assistant to enable them upon restart.
5251

5352
```text
53+
automation:
5454
- alias: Automation Name
5555
initial_state: True
5656
trigger:
5757
...
5858
```
59-
60-
</p>

0 commit comments

Comments
 (0)