<<: !include common.yaml

wifi:
  ap:

psram:
  mode: quad

media_player:
  - platform: speaker
    id: speaker_media_player_id
    announcement_pipeline:
      speaker: speaker_id
      format: NONE
    buffer_size: 1000000
    volume_increment: 0.02
    volume_max: 0.95
    volume_min: 0.0
    task_stack_in_psram: true
    files:
      - id: speaker_test_audio
        file:
          type: local
          path: $component_dir/test.wav

script:
  - id: play_built_in_file
    then:
      - media_player.speaker.play_on_device_media_file:
          id: speaker_media_player_id
          media_file: speaker_test_audio
          announcement: true
