HA vpe- failed config

Failed config

media_source.http_request: [source /data/packages/dc43710d/home-assistant-voice.yaml:1558]

Component media_source.http_request requires component http_request.
platform: http_request
id: http_source
buffer_size: 500000

1 Like

I get the same error when trying to update since updating to HA 2025.12
I think I accidentally “took control” of my HA voice PE device, and until this release I could update the device through my ESP Home Builder.
The yaml code used in ESP Home is this:

substitutions:
  name: home-assistant-voice-0911d3
  friendly_name: Ha voice LR
packages:
  Nabu Casa.Home Assistant Voice PE: github://esphome/home-assistant-voice-pe/home-assistant-voice.yaml

esphome:
  name: ${name}
  name_add_mac_suffix: false
  friendly_name: ${friendly_name}
api:
  encryption:
    key: AqWIOxVehj3oCGZdkP8S1EjUAZJ1gxBUom7TjtAgqE8=


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

to update with device builder you must take control.

i use the default image

what error do you receive

It stopped working after the last update of esphome builder.I use the firmware from Nabu casa and I have never changed anything in the yaml

Failed config

media_source.http_request: [source /data/packages/dc43710d/home-assistant-voice.yaml:1558]

Component media_source.http_request requires component http_request.
platform: http_request
id: http_source
buffer_size: 500000

This is the output I get when I try to run the update:

INFO ESPHome 2025.12.0
INFO Reading configuration /config/esphome/home-assistant-voice-0911d3.yaml...
INFO Updating https://github.com/esphome/home-assistant-voice-pe@dev
INFO Updating https://github.com/esphome/esphome@72499eaed2ed54316aca90d368053aa2e1a54f5f
WARNING GPIO0 is a strapping PIN and should only be used for I/O with care.
Attaching external pullup/down resistors to strapping pins can cause unexpected failures.
See https://esphome.io/guides/faq/#why-am-i-getting-a-warning-about-strapping-pins
WARNING GPIO3 is a strapping PIN and should only be used for I/O with care.
Attaching external pullup/down resistors to strapping pins can cause unexpected failures.
See https://esphome.io/guides/faq/#why-am-i-getting-a-warning-about-strapping-pins
WARNING GPIO45 is a strapping PIN and should only be used for I/O with care.
Attaching external pullup/down resistors to strapping pins can cause unexpected failures.
See https://esphome.io/guides/faq/#why-am-i-getting-a-warning-about-strapping-pins
Failed config

media_source.http_request: [source /data/packages/dc43710d/home-assistant-voice.yaml:1558]
  
  Component media_source.http_request requires component http_request.
  platform: http_request
  id: http_source
  buffer_size: 500000

The error explains that you need to add “http_request” component

Not sure why it is required now. These did not require before.
You may get more errors but that should take care of that one

2 Likes

If you take control and only want to overwrite a few keys, you might have this in your config:

packages:
  Nabu Casa.Home Assistant Voice PE: github://esphome/home-assistant-voice-pe/home-assistant-voice.yaml

Which imports the default config (this file):

And in the latest release this was added beside a lot other lines:

sendspin:
  id: sendspin_hub
  task_stack_in_psram: true
  kalman_process_error: 0.01

media_source:
  - platform: sendspin
    id: sendspin_source
  - platform: http_request
    id: http_source
    buffer_size: 500000

What seems to be missing is the include of the referenced http_request platform like shown in the post from @tmjpugh.

To me, this looks like a bug in this default config.

1 Like

Ah well, should have looked at the issues:

Wasn’t aware of home-assistant-voice.factory.yaml.
But given the fact that “taking control” seemed to add this line automatically, this problem will pop up for many people I guess.

It works now.Thanks for help

2 Likes

Yes, I can confirm that this solved the problem.
Thanks a lot !

1 Like