Hello All,
For voice assistant testing i am using an Atom Echo, i have already changed the tts output so it uses another speaker and i have muted the device.
using the ESPHome Builder in the “atom-echo.yaml” file i have the following but it never plays on the media_player.living_room_2 is never triggered
# Turn on the repeat mode and pause for 1000 ms between playlist items/repeats
- lambda: |-
id(echo_media_player)
->make_call()
.set_command(media_player::MediaPlayerCommand::MEDIA_PLAYER_COMMAND_REPEAT_ONE)
.set_announcement(true)
.perform();
id(echo_media_player)->set_playlist_delay_ms(speaker::AudioPipelineType::ANNOUNCEMENT, 1000);
- media_player.speaker.play_on_device_media_file:
media_file: timer_finished_wave_file
announcement: true
- homeassistant.service:
service: media_player.play_media
data:
entity_id: media_player.living_room_2
media_content_id: https://xxxxx.com/local/media/sta_blackalert.mp3
enqueue: replace
media_content_type: audio/mp3
announce: "true"
- delay: 15min
- switch.turn_off: timer_ringing
-
Any help would be appreciated