added example of changing input boolean. (#1566)
* added example of changing input boolean. Setting it programmatically. * Update input_boolean.markdown
This commit is contained in:
parent
ea78823c05
commit
89fb4a3946
1 changed files with 8 additions and 0 deletions
|
@ -50,3 +50,11 @@ automation:
|
|||
title: ""
|
||||
message: "Honey, I'm home!"
|
||||
```
|
||||
|
||||
You can also set or change the status of an `input_boolean` by using `input_boolean.turn_on` and `input_boolean.turn_off` in your automations.
|
||||
|
||||
```yaml
|
||||
- service: input_boolean.turn_on
|
||||
data:
|
||||
entity_id: input_boolean.notify_home
|
||||
```
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue