Using tts.speak in ESPHome

Hey there. Has anyone managed to use tts.speak as a homeassistant.service call in their ESP32 yaml?

  on_tts_end:
    - homeassistant.service:
        service: tts.speak
        data:
          media_player_entity_id: media_player.study_homepod
          message: "{{ my_stt }}"
        target:
          entity_id: tts.piper

i’m trying to use this, but it looks the yaml linter is getting confused by the indentation on both target and data.

My goal is to get my ESP32 M5 to play back on a homepod instead of the little speaker when it replies. Thanks!

Trying to do the same. Did you ever get this to work?