mirror of
https://github.com/CCOSTAN/Home-AssistantConfig.git
synced 2025-08-15 01:54:33 +00:00
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:
@@ -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 %}
|
||||
|
||||
|
@@ -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:
|
||||
|
Reference in New Issue
Block a user