K1,K2,K3,K4 you can connect to A32 Pro's any DI pins, such as DI1,DI2,DI3,DI4.
KC connect to A32 Pro's any GND pin.
if you use ESPHome, you can config the digital input ports as binary sensor.
if you use KCS firmware, just set IFTTT for DIx TOGGLE RELAYx.
Also i looked at the video you suggested but i have no clue what are the pin number for input and output
I managed to setup the A32Pro to communicate KC868 E16 (works fine when i trigger switch from HA)
Now the last stuff is to setup the switches that seems that i can figure it out
i have told you , you need add these to yaml, sample yaml file not have INPUT trigger OUTPUT function:
on_press:
then:
- switch.toggle: a32_pro_switch01
post your full yaml at here. You have not add this command lines.