mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-21 08:16:53 +00:00
Update initial_states (#8923)
Edited to show true/false instead of on/off
This commit is contained in:
parent
794d049b64
commit
0a91cb5f8d
@ -25,14 +25,14 @@ 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.
|
||||
You can also use `initial_state: 'off'` so that the automation
|
||||
You can also use `initial_state: 'false'` 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'
|
||||
initial_state: 'true'
|
||||
trigger:
|
||||
- platform: state
|
||||
...
|
||||
|
Loading…
x
Reference in New Issue
Block a user