Couldn't quite get this intergrated into my speech engine so had to roll back unfortunately. This is going to be amazing though once it's bullet-proof.

This commit is contained in:
ccostan
2018-09-24 17:16:10 -04:00
parent 89d5bb29bc
commit 5cc50017c1
5 changed files with 18 additions and 18 deletions

View File

@@ -31,9 +31,8 @@ speech_engine:
media_player: >-
{% if media_player | length == 0 %}
{% set media_player = [
'media_player.living_room',
'media_player.bedroom_alarm_panel',
'media_player.office'
'media_player.livingroomcc',
'media_player.bedroom_alarm_panel'
] %}
{% endif %}

View File

@@ -58,19 +58,19 @@ speech_processing:
0.3
{% endif %}
- service: media_player.alexa_tts
- service: tts.amazon_polly_say
data_template:
entity_id: >
{% if states.group.bed.state == 'off' %}
media_player.living_room
media_player.livingroomCC
{% else %}
media_player.alarm_clock, media_player.bedroom_alarm_panel
{% endif %}
message: >-
# <speak>
<speak>
{{ speech_message }}
# </speak>
# cache: true
</speak>
cache: true
- service: input_boolean.turn_off
data: