I have a simple config which just extends the defualt firmware
substitutions:
name: m5stack-atom-echo-b836b0
friendly_name: M5Stack Atom Echo b836b0
packages:
m5stack.atom-echo-voice-assistant: github://esphome/firmware/voice-assistant/m5stack-atom-echo.yaml@main
esphome:
name: ${name}
name_add_mac_suffix: false
friendly_name: ${friendly_name}
api:
encryption:
key: +someapikey=
wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
# 2024-07-10 Until https://github.com/esphome/firmware/pull/233 is fixed/merged
update:
- platform: http_request
id: !remove update_http_request
# HarsG's customisations
speaker:
- platform: i2s_audio
id: !extend echo_speaker
i2s_dout_pin: GPIO21 # <- It is actually on 22, so this disables the speaker
dac_type: external
mode: mono
voice_assistant:
on_tts_end:
- homeassistant.service:
service: media_player.play_media
data:
entity_id: media_player.study_speaker # <- this is hard-coded
media_content_id: !lambda 'return x;'
media_content_type: music
announce: "true"
Although I’m trying and failing to get timers to work.: How to override an action in a package