Hello all,
I’am looking for the best way to pass the value of a input.number to a KNX entity…
I have that input.number.setpoint hat i set fom the frontend with a slider. I would like the value to be send to a KNX entity each time the slidder is mooved…
Any idea, exemple?
Thanks by advance.
I don’t use KNX, but in general you trigger off the state of the Input number then use a template with the trigger
variable to provide the value it changed to:
triggers:
- trigger: state
entity_id: input_number.example
not_to:
- unknown
- unavailable
not_from:
- unknown
- unavailable
conditions: {}
actions:
- alias: Example KNX send action
action: knx.send
data:
address: 3/3/3
type: temperature
payload: "{{ trigger.to_state.state }}"
response: false