Adding Repeat functionality to the TTS setup.

This commit is contained in:
CCOSTAN
2017-02-10 02:44:42 +00:00
parent 242d5f2787
commit dd0d94ee4e
5 changed files with 13 additions and 6 deletions

View File

@@ -5,11 +5,11 @@
trigger:
- platform: state
entity_id: input_boolean.repeat_message
entity_id: input_boolean.last_message
state: 'on'
from: 'off'
action:
- service: script.Voice_notify
data_template:
value1: "{{states.sensor.polly_lastmsg.state}}"
value1: "{{states('sensor.polly_lastmsg')}}"