Error: [sources] is an invalid option for [media_pipeline] -- but listed this way in the docs

I’m trying to build a Music Assistant compatible ESPHome sendspin-enabled device but all the examples I’ve found have this in them:


This image is referenced from the docs page here: Sendspin Media Source - ESPHome - Smart Home Made Simple

However, when I use the ESPHome editor to try to add sources to my media_pipeline, it gives me this error:

[sources] is an invalid option for [media_pipeline]

What am I missing here? Seems like this should be a valid option. Is the IDE editor thing not up-to-date with the valid possibilities or something?

my code block looks like this:

sendspin:

media_source:
  - platform: sendspin
    id: sendspin_media_source

media_player:
  - platform: sendspin
    id: sendspin_group_media_player
  - platform: speaker
    name: "Media Player"
    id: media_player_id
    # task_stack_in_psram: true
    media_pipeline:
        speaker: media_spk_resampling_input
        sources:
          - sendspin_media_source        
        format: NONE
        num_channels: 2
    announcement_pipeline:
        speaker: announcement_spk_resampling_input
        format: WAV
        num_channels: 1

BTW, I’m on ESPHome 2026.7.1, right now.

or
- platform: speaker_source
?

OMG, I didn’t even see that the platform had changed. Thank you very much @Karosm!

You’re welcome.