I'm looking to implement a two push button logic, switching a smart power socket.
The first push button should set the state to on (1 or multiple times triggered)
The second push button sets the state to off
How to implement?
Configure one of the buttons to send 1 (or whatever is required to turn it on) and the other to send 0. Feed them both to the node controlling the socket.