Trying to use a button with gpio pins

sorry,
I am a total newbie in HA.
I am trying to add a push button t use as a switch
i can’t find anything useful .

1 Like

Just be aware that the GPIO binary sensor does not work that well.