Esp32-S3 don't work

Hi everybody, I purchased this THIS ESP32-S3 and I flashed this code, but when I press the switch the led don’t power on

substitutions:
  name: "esp32-s3"
  friendly_name: ESP32 S3

esphome:
  name: ${name}
  friendly_name: ${friendly_name}
  project:
    name: rg4tech.esp32-s3-16I-16O
    version: "1.0"

esp32:
  board: esp32-s3-devkitc-1
  framework:
    type: arduino

# Enable logging
logger:

# Enable Home Assistant API
api:
  encryption:
    key: "tjH+hlwLwoR0/mdZkERXbJFCeS3Fc6elKvYC7GbRu2I="

ota:
  - platform: esphome
    password: "1715f7f9d0b359ac575b0ae96f7fbb15"

wifi:
  ssid: !secret wifi_ssid
  password: !secret wifi_password

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

captive_portal:

binary_sensor:
  - platform: gpio
    pin: GPIO4
    name: "Interruttore LED"
    id: led_switch
    on_press:
      then:
        - switch.toggle: led_output

# Configura il LED su GPIO5
switch:
  - platform: gpio
    pin: GPIO5
    id: led_output
    name: "LED GPIO5"
    inverted: false

The board have two connecrtor, one called COM and other USB, I connect the board with PC via COM connector, the LED cathode to GRD and anode to PIN5, the switch is connected one wire on GND and other on PIN4
Can you help me please? Thanks and ciao

You need to bridge the pads to power it on. The pads labelled RGB see here

Hi Arh, You say the LED RGB on the ESP PCB? if yes, it work fine.
I tried a script that power the LED with color led GREEN when is connected to my SSID, or RED if it is no connected with the SSID and the led work fine.
My problem is when I connect an externa BULB LED in the PIN GPIO5 that don’t work

Since your button is wired to GND, you need to set inverted: true on binary sensor.
Also you need series resistor for the LED to limit current it draws.

In my opinion, my card is faulty. Whenever I update the script via OTA, it no longer connects to wifi (but even if I update via USB). The strange thing is that if I reconnect the card after a few hours, then it reconnects. A behaviour that I find absolutely incomprehensible, unless there is a fault with the card.

Sounds like that.
And if you connect a LED without resistor, the next one will be as well…
Is your Esp getting hot?