Adding detail about initial state (#6475)

It's always been a bit of mystery why automations sometimes get turned off. This should shed some light on it.

I appreciate the intent is to fix this, but until it's fixed, it makes sense to document it.
This commit is contained in:
DubhAd 2018-10-03 17:40:43 +01:00 committed by Fabian Affolter
parent 86b3543008
commit 6c31e3be04

View File

@ -49,7 +49,7 @@ Actions are all about calling services. To explore the available services open t
### {% linkable_title Automation initial state %}
You have to set an initial state in your automations in order for Home Assistant to enable them upon restart.
You have to set an initial state in your automations in order for Home Assistant to always enable them upon restart.
```text
automation:
@ -58,3 +58,5 @@ automation:
trigger:
...
```
If you don't set this the previous state is restored. If you shut Home Assistant down before it finishes starting, the automation will be stored as being off, and your automations will be disabled at the next startup.