mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-18 23:06:58 +00:00
Updated the note about initial_state (#4950)
In the note box, the formatting was lost. Tweaked wording slightly too.
This commit is contained in:
parent
07aec2ca9d
commit
1103c07589
@ -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>
|
||||
|
Loading…
x
Reference in New Issue
Block a user