Looking for flac_decoder.h

I am trying to compile the YAML listed at https://github.com/user-attachments/files/27310578/home-assistant-voice.yaml with ESPHome ver 2026.5.3, but I get this error:

   11 | #include <flac_decoder.h>
      |          ^~~~~~~~~~~~~~~~
compilation terminated.
*** [.pioenvs/voice-assistant/src/esphome/components/sendspin/media_source/sendspin_decoder.cpp.o] Error 1
In file included from src/esphome/components/sendspin/media_source/sendspin_media_source.h:8,
                 from src/esphome/components/sendspin/media_source/sendspin_media_source.cpp:1:
src/esphome/components/sendspin/media_source/sendspin_decoder.h:11:10: fatal error: flac_decoder.h: No such file or directory

****************************************************************************
* Looking for flac_decoder.h dependency? Check our library registry!
*
* CLI  > platformio lib search "header:flac_decoder.h"
* Web  > https://registry.platformio.org/search?q=header:%1B%5Bm%1B%5BKflac_decoder.h
*
****************************************************************************

Could someone suggest what I need to do to fix this error, please?

OK, so far I have received lots of views but no replies. So maybe my problem description needs to be fleshed out a bit more ...

Unfortunately I am unable to include the whole ESPHome .yaml that I have copied from new yaml based on home-assistant-voice-pe 26.4.0 · Issue #18 · KristopherMackowiak/ha_voice_assistant · GitHub as it is 1,300 lines long and exceeds the maximum allowance for this posting.

When I try to compile this code in ESPHome version 2026.6.2, I get a "Compilation Failed" message with the following information (I have posted a screen-shot in order to retain the colours and layout of the original error message):

Which is fine, except that I have no idea how to fix that error.

I have cleaned the build files and reset the build environment, but the error still occurs.

I have also tried some YAML changes as suggested by Google's Gemini, but that hasn't helped either.

I am at a complete loss, so any suggestions will be welcomed ...

With the assistance of @OzGav I now have a version of the YAML that will happily compile with ESPHome ver. 2026.6.2. and doesn't complain about needing flac_decoder.h.

The main change was that Sendspin, media_source and http_request are now built into ESPHome (2026.6.0+), so they no longer need to be pinned. Only voice_kit is still an external component.

I would attach the corrected version to this posting, if it was permitted. However, it can be downloaded from here, if you need it.