ESP32-CAM fails to work

Asking help with setting up an ESP32-CAM using ESPHome and MB-board. I’m able to flash and install properly, however, once installed the device is online but the camera is not streaming or showing as a sensor. The ESPHome logbook shows:

esp32cam Firmware turned off
11:49:54 PM - 6 minutes ago

esp32cam Firmaware became unavailable
11:49:54 PM - 6 minutes ago

Here is my esp32cam.yaml file. I’ve also tried with board as “esp32dev” but the same result.

esphome:
  name: esp32cam
  friendly_name: esp32cam

esp32:
  board: esp32cam
  framework:
    type: arduino

# Enable logging
logger:

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

ota:
  password: "yyyyy"

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

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

captive_portal:

You don’t have anything in your YAML for the camera:

I’ve never actually used one though, so I can’t help you beyond “follow the docs”.

How silly of me. Thank you!