esphome:
  on_boot:
    then:
      - mixer_speaker.apply_ducking:
          id: source_speaker_1_id
          decibel_reduction: 10
          duration: 1s

i2s_audio:
  i2s_lrclk_pin: ${lrclk_pin}
  i2s_bclk_pin: ${bclk_pin}
  i2s_mclk_pin: ${mclk_pin}

speaker:
  - platform: i2s_audio
    id: speaker_id
    dac_type: external
    i2s_dout_pin: ${dout_pin}
  - platform: mixer
    output_speaker: speaker_id
    source_speakers:
      - id: source_speaker_1_id
      - id: source_speaker_2_id
