Added example for system variables

This commit is contained in:
Daniel Perna 2016-08-26 13:32:25 +02:00 committed by GitHub
parent 0fdd734e6a
commit 4abe9ef12b

View File

@ -86,12 +86,13 @@ The name depends on if you chose to resolve names or not. If not, it will be the
**Other events** **Other events**
*homematic.keypress* see above. *homematic.keypress*: See above.
*homematic.impulse* for impulse sensors with event_data 'name' and 'channel'.
*homematic.impulse*: For impulse sensors with event_data 'name' and 'channel'.
**Service** **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 ```yaml
... ...
@ -103,3 +104,15 @@ action:
channel: 1 channel: 1
param: PRESS_LONG 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
```