Hello,
I have noticed that the edge control option is missing in HA.
You often have impulse relays or devices that have integrated logic themselves. Here it is then necessary that a function, for example light_on, can be triggered with a pulse.
I would suggest a YAML integration in the following way (using Modbus as an example):
lights:
- name: "light"
unique_id: "light"
address: 1
write_type: coil
command_on_slope: 1s
command_off_slope: 1s
verify:
input_type: coil
address: 8192
state_on: 1
state_off: 0
This is currently only possible in a very complicated way via automation.
Another cool option would be that the output is only set when the UI button is pressed. The actual value is then returned via verify.
I hope my Request get implemented.
Greeting
Dominik
Greetings
Dominik