2 push buttons one sets the status to on, the other to off

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.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.