From 9f49b5d646365c6ef379186598d7edb01a493b26 Mon Sep 17 00:00:00 2001 From: CCOSTAN Date: Fri, 10 Feb 2017 01:48:24 +0000 Subject: [PATCH] Add MQTT Repeat Function to Voice TTS. --- script/voice_notify.yaml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/script/voice_notify.yaml b/script/voice_notify.yaml index 96c943d9..ef53e24c 100755 --- a/script/voice_notify.yaml +++ b/script/voice_notify.yaml @@ -58,7 +58,13 @@ voice_notify: {% else %} 0.25 {% endif %} - + + - service: mqtt.publish + data_template: + payload: '{{ value1 }}"' + topic: 'polly/lastmsg' + retain: true + - service: tts.amazon_polly_say entity_id: media_player.livingroomCC data_template: