Testing TTS functions with Speech Engine. #421

This commit is contained in:
ccostan 2020-05-25 18:33:31 -04:00
parent 5384c8dbed
commit df14aec017
1 changed files with 13 additions and 10 deletions

View File

@ -2,6 +2,7 @@
###Script to actually send notifications to the ChromeCast Audios during normal hours and only when we are home! Call like this:
# action:
# service: script.speech_engine
# media_player:
# speech_message:
# # @CCOSTAN
# Original Repo : https://github.com/CCOSTAN/Home-AssistantConfig
@ -58,16 +59,18 @@ speech_processing:
0.3
{% endif %}
# - service: media_player.alexa_tts
# data_template:
# entity_id: >
# {% if states.group.bed.state == 'off' %}
# media_player.office
# {% else %}
# media_player.office
# {% endif %}
# message: >-
# {{ speech_message }}
- service: notify.alexa_media
data_template:
data:
type: tts
target: >
{% if states.group.bed.state == 'off' %}
media_player.office
{% else %}
media_player.master_bathroom
{% endif %}
message: >-
{{ speech_message }}
- service: tts.amazon_polly_say
data_template: