Turn on LED connected to D3 (Must be stupid!)

Hi…
I must be stupid, but I just started with ESPHome and have connected a led (3v) and trying to turn it on trough HA.
I see thw switch in HA but nothing happens when I toggle the on off switch.
The led is connected to G and pin D3
image

switch:
- platform: gpio
  pin: D3
  id: led_light
  name: "MailBox Led Light"
  icon: "mdi:led-variant-on"

What have I done wrong?
It’s an EPS8266 device. When connected directly to G and 3v there is light … :face_with_raised_eyebrow:

Here is how Binary Light — ESPHome

Well. thanks for the info, but it didnt work…

To make a single/multiple leds work you have to use: