I have already a button integrated by knx
button.sektionaltor_fahren
I’m using a custom:button-card for managing different icon on different states:
cards:
- cards:
- show_name: true
show_icon: true
entity: binary_sensor.schiebetor_geschlossen
type: custom:button-card
state:
- value: 'on'
icon: mdi:lock-outline
color: green
- value: 'off'
icon: mdi:lock-open-outline
color: red
tap_action:
action: call-service
service: knx.send
data:
entity_id: button.sektionaltor_fahren
name: Schiebetor
But how can i manage the tap action therefore the knx button is called?
Any ideas?
thx