From 1abf025881306ecd18ef72f73568862f0f1995ef Mon Sep 17 00:00:00 2001 From: Alok Saboo Date: Mon, 27 Feb 2017 17:02:00 -0500 Subject: [PATCH] Added initial_state instructions (#2167) --- source/_components/automation.markdown | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source/_components/automation.markdown b/source/_components/automation.markdown index 80a01298f94..86da3cdd2cf 100644 --- a/source/_components/automation.markdown +++ b/source/_components/automation.markdown @@ -19,12 +19,13 @@ Starting with 0.28 your automation rules can be controlled with the frontend.

-This allows one to reload the automation without restarting Home Assistant itself. If you don't want to see the automation rule in your frontend use `hide_entity: True` to hide it. +This allows one to reload the automation without restarting Home Assistant itself. If you don't want to see the automation rule in your frontend use `hide_entity: True` to hide it. You can also use `initial_state: 'off'` so that the automation is not automatically turned on after a Home assistant reboot. ```yaml automation: - alias: Door alarm hide_entity: True + initial_state: 'off' trigger: - platform: state ...