Skip to content

Invalid sample_rate option in i2s_audio example on speaker media_player docs #6570

Description

@BagheeraHans

Feedback

On this page:
https://esphome.io/components/media_player/speaker/

The example under "Example Configuration" shows:

i2s_audio:
i2s_lrclk_pin: GPIOXX
i2s_bclk_pin: GPIOXX
sample_rate: 48000

But ESPHome 2026.4.3 reports that sample_rate is not valid under i2s_audio.
It appears sample_rate should only be configured under the speaker/resampler/media pipeline where applicable.

Can the example be corrected?

URL

https://esphome.io/components/media_player/speaker/

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions