ESPhome ESp32 CAm Ai-Thinker Fehlermeldung

Hallo,

meine ESP32CAM v.AI-Thinker funktioniert nicht und es kommen die Fehlermeldung:

[E][esp32_camera:123]: Setup Failed: ESP_ERR_NOT_FOUND
[E][component:082]: Component esp32_camera is marked FAILED

[E][esp32_camera_web_server:097]: Setup Failed
[E][component:082]: Component esp32_camera_web_server is marked FAILED

Obwohl der gleiche Code auf einer anderen Cam (gleiches Modell) seit längerem einwandfrei läuft.
Hat jemand eine Idee was ich ändern muss?

esphome:
  name: testesp32cam
  friendly_name: TestESP32Cam

esp32:
  board: esp32dev
  framework:
    type: arduino

# Enable logging
logger:

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

ota:
  - platform: esphome
    password: "xxx"

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

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

captive_portal:

esp32_camera:
  name: esp32Camera
  external_clock:
    pin: GPIO0
    frequency: 20MHz
  i2c_pins:
    sda: GPIO26
    scl: GPIO27
  data_pins: [GPIO5, GPIO18, GPIO19, GPIO21, GPIO36, GPIO39, GPIO34, GPIO35]
  vsync_pin: GPIO25
  href_pin: GPIO23
  pixel_clock_pin: GPIO22
  power_down_pin: GPIO32
  resolution: 800x600

output:
  - platform: gpio
    pin: GPIO4
    id: gpio_4

binary_sensor:
  - platform: status
    name: "ESP32Cam YT status"
    
sensor:
  - platform: wifi_signal
    name: "ESP32Cam YT WiFi Signal"
    update_interval: 60s
    
light:
  - platform: binary
    output: gpio_4
    name: "ESP32Cam light"  

esp32_camera_web_server:
  - port: 8080
    mode: stream
  - port: 8081
    mode: snapshot
    

Ich hatte das gleiche Problem auch seit Gestern. Auf einmal ging die Cam nicht mehr. Dann habe ich sie mal aus dem gehäuse genommen und das Flachbandkabel zum Sensor nochmal neu mit dem Board verbunden. Danach ging se dann wieder.
Evtl. hilft das ja auch bei Dir.
Viele Grüße, chris