Hi, im trying to create widget that should work like a monostable button.
So It’s should send ON when it is pressed ad OFF in other states.
My automation system is based on WAGO PLC.
I used doorbell buttons as a light switch. So it always works on rising edge and change state of light every time you press switch.
Thanks to that i can also create additional function for hold and doubleclick.
I would like have the same functionality in my HABPanel.
I also want that my widget looks like ordinary switch. So it have to send command to one binding and read state of light in other.
Can someone help me?
At least send script for original switch widget.