Updated Speech Notifications for #391 - Phyn Unit.
This commit is contained in:
parent
b7f87c1085
commit
eabad7870d
|
@ -26,7 +26,7 @@
|
||||||
{% if states.group.bed.state == 'off' %}
|
{% if states.group.bed.state == 'off' %}
|
||||||
media_player.livingroomCC
|
media_player.livingroomCC
|
||||||
{% else %}
|
{% else %}
|
||||||
media_player.bedroom_alarm_panel
|
media_player.bedroom
|
||||||
{% endif %}
|
{% endif %}
|
||||||
media_content_id: >
|
media_content_id: >
|
||||||
{% if trigger.to_state.state == 'on' %}
|
{% if trigger.to_state.state == 'on' %}
|
||||||
|
|
|
@ -31,6 +31,14 @@ automation:
|
||||||
who: 'family'
|
who: 'family'
|
||||||
url: 'https://github.com/CCOSTAN/Home-AssistantConfig/raw/master/config/www/custom_ui/floorplan/images/branding/pipeleak.png'
|
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
|
- service: script.tweet_engine_image
|
||||||
data_template:
|
data_template:
|
||||||
tweet: >
|
tweet: >
|
||||||
|
|
|
@ -32,7 +32,7 @@ speech_engine:
|
||||||
{% if media_player | length == 0 %}
|
{% if media_player | length == 0 %}
|
||||||
{% set media_player = [
|
{% set media_player = [
|
||||||
'media_player.livingroomcc',
|
'media_player.livingroomcc',
|
||||||
'media_player.bedroom_alarm_panel'
|
'media_player.bedroom'
|
||||||
] %}
|
] %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
|
|
@ -75,7 +75,7 @@ speech_processing:
|
||||||
{% if states.group.bed.state == 'off' %}
|
{% if states.group.bed.state == 'off' %}
|
||||||
media_player.livingroomCC
|
media_player.livingroomCC
|
||||||
{% else %}
|
{% else %}
|
||||||
media_player.tap
|
media_player.bedroom
|
||||||
{% endif %}
|
{% endif %}
|
||||||
message: >-
|
message: >-
|
||||||
<speak>
|
<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 |
Loading…
Reference in New Issue