Testing TTS functions with Speech Engine. #421
This commit is contained in:
parent
5384c8dbed
commit
df14aec017
|
@ -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:
|
###Script to actually send notifications to the ChromeCast Audios during normal hours and only when we are home! Call like this:
|
||||||
# action:
|
# action:
|
||||||
# service: script.speech_engine
|
# service: script.speech_engine
|
||||||
|
# media_player:
|
||||||
# speech_message:
|
# speech_message:
|
||||||
# # @CCOSTAN
|
# # @CCOSTAN
|
||||||
# Original Repo : https://github.com/CCOSTAN/Home-AssistantConfig
|
# Original Repo : https://github.com/CCOSTAN/Home-AssistantConfig
|
||||||
|
@ -58,16 +59,18 @@ speech_processing:
|
||||||
0.3
|
0.3
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
# - service: media_player.alexa_tts
|
- service: notify.alexa_media
|
||||||
# data_template:
|
data_template:
|
||||||
# entity_id: >
|
data:
|
||||||
# {% if states.group.bed.state == 'off' %}
|
type: tts
|
||||||
# media_player.office
|
target: >
|
||||||
# {% else %}
|
{% if states.group.bed.state == 'off' %}
|
||||||
# media_player.office
|
media_player.office
|
||||||
# {% endif %}
|
{% else %}
|
||||||
# message: >-
|
media_player.master_bathroom
|
||||||
# {{ speech_message }}
|
{% endif %}
|
||||||
|
message: >-
|
||||||
|
{{ speech_message }}
|
||||||
|
|
||||||
- service: tts.amazon_polly_say
|
- service: tts.amazon_polly_say
|
||||||
data_template:
|
data_template:
|
||||||
|
|
Loading…
Reference in New Issue