D1 mini pro - why the GPIO not have 5v output? as resualt my led's chains have low power (3.7v)

Hey
So I connect some led’s chains with 3 batteries of 1.5v its work perfect.
I connect the led’s chains to D1 mini pro and create some simple switch in HA

The problem - its look like when i push the HA switch the D1 take only 3.7v and the led’s have low power
I connect the “+” to GPIO d1 and the “-” to the G

what i missed here ?

esphome:
  name: testmini
  friendly_name: testmini

esp8266:
  board: d1_mini

# Enable logging
logger:

# Enable Home Assistant API
api:
  encryption:
    key: "111"

ota:
  password: "111"

switch:
  - platform: gpio
    name: "Pin GPIO1"
    pin: D1


wifi:
  ssid: 111
  password: 111

  # Enable fallback hotspot (captive portal) in case wifi connection fails
  ap:
    ssid: "Test3 Fallback Hotspot"
    password: "QUKg5TAciuQq"

captive_portal:

You missed the electrical specs of the board. The chip on it only operates on 3.3-3.6v, including the outputs. How are you powering the d1 mini? Having 3.7v on the output is already high.

Also be careful with adding more than one led to the output as it can easily exceed the max current.

You will need something like a mosfet or transistor to safely turn on multiple leds.

Dont power your LEDs from GPIO outs. You’ll evtl. fry your board.