mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-18 23:06:58 +00:00
Add examples for knx.send
action configuration (#34904)
This commit is contained in:
parent
e51d9a5474
commit
0185ea5da7
@ -348,6 +348,33 @@ response:
|
||||
default: false
|
||||
{% endconfiguration %}
|
||||
|
||||
{% raw %}
|
||||
|
||||
```yaml
|
||||
# Example script to send a fixed value and the state of an entity
|
||||
alias: My Script
|
||||
sequence:
|
||||
- action: knx.send
|
||||
data:
|
||||
address: 1/1/1
|
||||
type: percent
|
||||
payload: 50
|
||||
response: false
|
||||
- action: knx.send
|
||||
data:
|
||||
address: 1/1/1
|
||||
payload: [128] # 50 % as 1-byte raw value
|
||||
response: false
|
||||
- action: knx.send
|
||||
data:
|
||||
address: 3/3/3
|
||||
type: temperature
|
||||
payload: "{{ states('sensor.dew_point') }}"
|
||||
response: false
|
||||
```
|
||||
|
||||
{% endraw %}
|
||||
|
||||
### Read
|
||||
|
||||
You can use the `homeassistant.update_entity` action call to issue GroupValueRead requests for all `*state_address` of an entity.
|
||||
|
Loading…
x
Reference in New Issue
Block a user