29.05.2023, 08:29
This script is meant for a single input control. It won't work correctly since you have separate on/off controls. What is the reason for such setup? It would make more sense to send 0 to the same group address when a long press is performed.