mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-13 20:36:52 +00:00
Added example for system variables
This commit is contained in:
parent
0fdd734e6a
commit
4abe9ef12b
@ -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
|
||||||
|
```
|
||||||
|
Loading…
x
Reference in New Issue
Block a user