增加tts服务调用中的entity_id

This commit is contained in:
zhujisheng 2019-02-17 18:25:58 +08:00
parent 8ef4928cdb
commit cd17884c59
9 changed files with 2 additions and 1552 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

File diff suppressed because it is too large Load Diff

View File

@ -59,6 +59,7 @@ automation:
action:
# 播放文字语音
- service: tts.google_say
entity_id: media_player.vlc
data_template:
message: '{{states.input_text.alarm_text.state}}'
# 打开灯

View File

@ -39,6 +39,7 @@ automation:
entity_id: image_processing.ms_face_feature
action:
service: tts.google_say
entity_id: "all"
data_template:
message: >
{% if trigger.event.data.glasses=="ReadingGlasses" %}