Esphome switch gpio pin. I have a ESP8266 connected to a sensor and a relay.

Borneo - FACEBOOKpixBorneo - FACEBOOKpix