The latest update has caused updates to not work on a device of mine using the bluetooth proxy service.
To be clear, this is not the same issue as the introduced with 2024.6 which is remedied by adding a password key in the ota section. I previously added this key when updates broke on 2024.6.
My current yaml:
packages:
esphome.bluetooth-proxy: github://esphome/firmware/bluetooth-proxy/esp32-generic.yaml@main
esphome:
name: esp-02
name_add_mac_suffix: false
friendly_name: ESP-02
esp32:
board: nodemcu-32s
framework:
type: arduino
output:
- platform: ledc
pin: GPIO33
id: gpio_33
light:
- platform: monochromatic
output: gpio_33
name: "Window Light"
i2c:
sda: 21
scl: 22
scan: true
id: bus_a
sensor:
- platform: htu21d
temperature:
name: "Living Room Temperature"
humidity:
name: "Living Room Humidity"
update_interval: 60s
# Enable logging
logger:
# Enable Home Assistant API
api:
encryption:
key: "#######################"
ota:
platform: esphome
password: "###################"
wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
# Enable fallback hotspot (captive portal) in case wifi connection fails
ap:
ssid: "Esp-02 Fallback Hotspot"
password: "#############"
captive_portal:
esp32_ble_tracker:
scan_parameters:
#interval: 1100ms
#window: 1100ms
active: true
bluetooth_proxy:
active: true
Attempting to update returns the error:
Failed config
update.http_request: [source /data/packages/c46f54c1/bluetooth-proxy/esp32-generic.yaml:33]
Component update.http_request requires 'platform: http_request' in component 'ota'.
platform: http_request
id: update_http_request
name: Firmware
source: https://firmware.esphome.io/bluetooth-proxy/esp32-generic/manifest.json
Adding ‘platform: http_request’ to ota section produces the error:
Duplicate key "platform"
in "/config/esphome/esp-02.yaml", line 50, column 3
NOTE: Previous declaration here:
in "/config/esphome/esp-02.yaml", line 48, column 3
Assuming that updates using ‘platform: esphome’ are no longer supported I removed that line along with it’s associated password key which produces the error:
Failed config
http_request: [source /data/packages/c46f54c1/bluetooth-proxy/esp32-generic.yaml:38]
ESPHome supports certificate verification only via ESP-IDF. Set 'verify_ssl: false' to skip certificate validation and allow less secure HTTPS connections.
{}
Changing my yaml to add this line, my yaml now looks like this:
ota:
platform: http_request
verify_ssl: False
Which produces the error:
Failed config
ota.http_request: [source /config/esphome/esp-02.yaml:48]
platform: http_request
[verify_ssl] is an invalid option for [ota.http_request]. Please check the indentation.
verify_ssl: False
At this point I’m starting to lose the will to live. Where does the ‘verify_ssl: False’ setting live? I’ve seen other yaml examples where there is a ‘platform:’ master node but as you can see in my original yaml this does no exist in mine.
Oh and all of my other devices happily update after adding the password field after the last update. This is only effecting the one which using the bluetooth proxy service. Was there a change within the file ‘/data/packages/c46f54c1/bluetooth-proxy/esp32-generic.yaml’ or ‘https://firmware.esphome.io/bluetooth-proxy/esp32-generic/manifest.json’ which is causing these issues.
Thanks