I'm having trouble sort of "figuring" out how to do certain action that I find in documentation. For instance, I have a blueprint which will accounce on various Echo devices depending on what I select in my automation. I want to be able to adjust the volume on the target devices before the announcement. I found the following action, but I'm just not clear how to use it. I've tried putting it in scripts.yaml, but it doesn't show up as an option in my automation. It also doesn't help that YAML drives me absolutely nuts. How can I accomplish this?
alexa_turn_volume_up:
sequence:
- service: media_player.volume_set
target:
entity_id: "{{target_entities}}"
data:
volume_level: "0.7"