Question: Executing a script from Alexa, Google; and a respective notify/announcement on same device

I have the below Home Assistant script which is accessible via Alexa and Google platforms via Nabu Casa:

alias: Where is Daddy
sequence:
  - data_template:
      data:
        type: announce
      message: Daddy is at {{states('sensor.sm_g781v_2_geocoded_location')}}.
      target: media_player.mka_net_echo_dot
    service: notify.alexa_media
mode: single
icon: mdi:map-marker-radius

I am, able to say “Where is Daddy” on any of my Alexa or Google devices; and, get a respective voice response. However, the problem is that it will only announce the response on only a specific hard-coded target: media_player.mka_net_echo_dot; which isn’t very useful if I’m in a different room.

QUESTION: Is it possible for the script to capture what platform\device the script is executed on in a variable; then execute a respective announcement/response on the same platform\device? Or, possibly a different method?

If it is currently impossible to do, is it feasible to add a feature like this? Maybe with all the new assistant features being added, this may be possible soon?

You’re looking for the Alexa Media Player Last called sensor. You’re apparently already using Alexa Media Player so this should be cake for you. :wink:

Thank you. Is there a way to also do this for Google Assistant?