This is my ALEXA automation.
action:
- service: media_player.volume_set
data:
volume_level: 0.8
entity_id: media_player.everywhere
- data:
entity_id: group.echo
media_content_id: amzn_sfx_scifi_alarm_04
media_content_type: sound
service: media_player.play_media
- data:
data:
method: speak
type: announce
message:
I've detected a change in national weather service advisories for the East Valley.
{% for i in range(states('sensor.nws_alert_count') | int) %}
{%- if i > 0 -%}
---------
{%- endif %}
{{ state_attr('sensor.nws_alert_event', 'features')[0].properties.headline }}
{{ state_attr('sensor.nws_alert_event', 'features')[0].properties.description | replace('\n', '') | replace('/', ', ') }}
{% endfor %}
service: notify.alexa_media_everywhere
The message that it speaks can be somewhat lengthy, and ALEXA rattles through it very quickly.
I do know that you can tell ALEXA to speak slower but how might one incorporate it into an automation.
Thank you