Updated Speech Notifications for #391 - Phyn Unit.

This commit is contained in:
ccostan 2020-05-25 17:44:25 -04:00
parent b7f87c1085
commit eabad7870d
7 changed files with 19 additions and 11 deletions

View File

@ -26,7 +26,7 @@
{% if states.group.bed.state == 'off' %}
media_player.livingroomCC
{% else %}
media_player.bedroom_alarm_panel
media_player.bedroom
{% endif %}
media_content_id: >
{% if trigger.to_state.state == 'on' %}

View File

@ -31,6 +31,14 @@ automation:
who: 'family'
url: 'https://github.com/CCOSTAN/Home-AssistantConfig/raw/master/config/www/custom_ui/floorplan/images/branding/pipeleak.png'
- service: script.speech_engine
data_template:
value1: >
{{ [
"Phyn has detected a possible leak. Please verify there are no leaks in the house. "
] | random }}
call_no_announcement: 1
- service: script.tweet_engine_image
data_template:
tweet: >

View File

@ -32,7 +32,7 @@ speech_engine:
{% if media_player | length == 0 %}
{% set media_player = [
'media_player.livingroomcc',
'media_player.bedroom_alarm_panel'
'media_player.bedroom'
] %}
{% endif %}

View File

@ -75,7 +75,7 @@ speech_processing:
{% if states.group.bed.state == 'off' %}
media_player.livingroomCC
{% else %}
media_player.tap
media_player.bedroom
{% endif %}
message: >-
<speak>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 0 B

After

Width:  |  Height:  |  Size: 8.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 0 B

After

Width:  |  Height:  |  Size: 8.9 KiB