From 4abe9ef12b97b0aa5ff7cb89f5f8f12d1b84987a Mon Sep 17 00:00:00 2001 From: Daniel Perna Date: Fri, 26 Aug 2016 13:32:25 +0200 Subject: [PATCH] Added example for system variables --- source/_components/homematic.markdown | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) diff --git a/source/_components/homematic.markdown b/source/_components/homematic.markdown index 5adb4a24160..cde222f974f 100644 --- a/source/_components/homematic.markdown +++ b/source/_components/homematic.markdown @@ -86,12 +86,13 @@ The name depends on if you chose to resolve names or not. If not, it will be the **Other events** -*homematic.keypress* see above. -*homematic.impulse* for impulse sensors with event_data 'name' and 'channel'. +*homematic.keypress*: See above. + +*homematic.impulse*: For impulse sensors with event_data 'name' and 'channel'. **Service** -*homematic/virtualkey* simulate a keypress on CCU/Homegear with device or virtual keys. +*homematic/virtualkey*: Simulate a keypress on CCU/Homegear with device or virtual keys. ```yaml ... @@ -103,3 +104,15 @@ action: channel: 1 param: PRESS_LONG ``` + +*homematic/set_value*: Set the value of a system variable. + +```yaml +... + +action: + service: homematic.set_value + data: + entity_id: homematic.varname_bool + value: true +```