From 89fb4a3946d5ed8f5848c03bf27b6b9b7a008647 Mon Sep 17 00:00:00 2001 From: Carlo Costanzo Date: Fri, 9 Dec 2016 16:23:37 -0500 Subject: [PATCH] added example of changing input boolean. (#1566) * added example of changing input boolean. Setting it programmatically. * Update input_boolean.markdown --- source/_components/input_boolean.markdown | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/source/_components/input_boolean.markdown b/source/_components/input_boolean.markdown index 68d26181d13..541582d4795 100644 --- a/source/_components/input_boolean.markdown +++ b/source/_components/input_boolean.markdown @@ -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 +```