ESP32 Base ESPHome Example YAML
Here is the essential ESP32 Base example YAML snippet to start your ESPHome ESP32 configuration. This is a cutdown version that does not include bluetooth to make the configuration file size much smaller.
For a step-by-step guide, watch the comprehensive tutorial available at the following link: Video
    
esphome:
  name: "esp32-example"
  friendly_name: "esp32-example"
esp32:
  board: esp32dev
  framework:
    type: arduino
api:
wifi:
  ssid: !secret wifi_ssid
  password: !secret wifi_password
  
  ap:
    ssid: "ESP EXAMPLE HOTSPOT"
    password: "SmartBoatInnovations"
captive_portal:
logger:
  level: ERROR
ota:
  platform: esphome
  
improv_serial: