FYI, I use(d) a simmilar ESP (I think), and the config I used:
esphome:
name: nodemcu-esp32-s-4mb-wroom
esp32:
board: nodemcu-32s
framework:
type: arduino
I did some bluetooth scanning in the past but add remark # to disable it, maybe you could use some of it (just for information).
# BLE Bluetooth Low Energy Tracker Hub
# https://esphome.io/components/esp32_ble_tracker.html
##esp32_ble_tracker:
## scan_parameters:
## interval: 1100ms
## window: 1100ms
## active: true
## continuous: true
# 20221008 FirstTime Scanning
# https://esphome.io/components/binary_sensor/ble_presence.html#esp32-ble-tracker-setting-up-devices
# Bluetooth Proxy
# https://github.com/esphome/bluetooth-proxies/blob/e8e936ed23de2fd6df30058911a8b82ea35d3061/esp32-generic.yaml
##bluetooth_proxy:
## active: true
Hope this will provide you some more information you could use.
EDIT: I changed the esphome-code and the pins-image, because the picture you provided seems to be more likely this one?
EDIT2: FYI, ESP32S-HiLetgo Dev Boad with Pinout Template - parts submit - fritzing forum