Toggle relay with momentary pushbutton

Hi. If i want to toggle a relay on one pin with a momentary pushbutton to another pin, which ESPHome components should I use?

You should read this :slight_smile:

1 Like