mirror of
https://github.com/CCOSTAN/Home-AssistantConfig.git
synced 2025-08-16 18:44:58 +00:00
Closes #881 - Obsolete Service_TEMPLATE and Data_TEMPLATE
This commit is contained in:
@@ -12,7 +12,7 @@ speech_processing:
|
||||
mode: queued
|
||||
sequence:
|
||||
- service: mqtt.publish
|
||||
data_template:
|
||||
data:
|
||||
topic: 'polly/lastmsg'
|
||||
payload: "This message is from {{ now().strftime('%-I') }}:{{ now().strftime('%M') }} {{ now().strftime('%p') }}. {{ speech_message | truncate(220)}}"
|
||||
retain: true
|
||||
@@ -48,7 +48,7 @@ speech_processing:
|
||||
entity_id: switch.lr_amp
|
||||
|
||||
- service: media_player.volume_set
|
||||
data_template:
|
||||
data:
|
||||
entity_id: >
|
||||
{{ media_player }}
|
||||
volume_level: >-
|
||||
@@ -61,7 +61,7 @@ speech_processing:
|
||||
{% endif %}
|
||||
|
||||
# - service: notify.alexa_media
|
||||
# data_template:
|
||||
# data:
|
||||
# data:
|
||||
# type: tts
|
||||
# target: >
|
||||
@@ -74,7 +74,7 @@ speech_processing:
|
||||
# {{ speech_message }}
|
||||
|
||||
- service: tts.amazon_polly_say
|
||||
data_template:
|
||||
data:
|
||||
entity_id: media_player.livingroomCC
|
||||
message: >-
|
||||
<speak>
|
||||
|
Reference in New Issue
Block a user