diff --git a/source/_integrations/knx.markdown b/source/_integrations/knx.markdown index 7bcde1c5c0b..9842ce0270e 100644 --- a/source/_integrations/knx.markdown +++ b/source/_integrations/knx.markdown @@ -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.