Deprecation warnings fixed for esphome 2025.11

This commit is contained in:
2025-11-21 19:14:49 +01:00
parent aea16e59c4
commit 24eecc7c97
14 changed files with 71 additions and 40 deletions

View File

@@ -41,16 +41,25 @@ api:
ota:
platform: esphome
password: !secret ota
# Initialize I²C
i2c:
- id: bus_c
sda: GPIO26
scl: GPIO27
psram:
speed: 80MHz
# Camera
esp32_camera:
frame_buffer_location: PSRAM
name: ${friendly_name}
external_clock:
pin: GPIO0
frequency: 20MHz
i2c_pins:
sda: GPIO26
scl: GPIO27
i2c_id:
bus_c
data_pins: [GPIO5, GPIO18, GPIO19, GPIO21, GPIO36, GPIO39, GPIO34, GPIO35]
vsync_pin: GPIO25
href_pin: GPIO23