I’m trying to switch a 12V lock, using an MT3608 booster.
I’m using a Seeed XIAO esp32c3, with just 2 wires connected: ground and GPIO3(D1).
My code:
esp32:
board: esp32-c3-devkitm-1
framework:
type: arduino
switch:
- platform: gpio
name: "test5"
pin:
number: GPIO3
mode:
output: true
pullup: true
this doesn’t work, for some reason.
What am I doing wrong?