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:
Carlo Costanzo 2016-12-09 16:23:37 -05:00 committed by Fabian Affolter
parent ea78823c05
commit 89fb4a3946

View File

@ -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
```