mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-23 01:06:52 +00:00
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
@ -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…
x
Reference in New Issue
Block a user