增加tts服务调用中的entity_id
This commit is contained in:
parent
8ef4928cdb
commit
cd17884c59
BIN
10.设备接入篇(2).docx
BIN
10.设备接入篇(2).docx
Binary file not shown.
BIN
10.设备接入篇(2).pdf
BIN
10.设备接入篇(2).pdf
Binary file not shown.
BIN
6.自动化篇.docx
BIN
6.自动化篇.docx
Binary file not shown.
BIN
6.自动化篇.pdf
BIN
6.自动化篇.pdf
Binary file not shown.
BIN
9.人脸识别篇.docx
BIN
9.人脸识别篇.docx
Binary file not shown.
BIN
9.人脸识别篇.pdf
BIN
9.人脸识别篇.pdf
Binary file not shown.
1552
__init__.py
1552
__init__.py
File diff suppressed because it is too large
Load Diff
|
@ -59,6 +59,7 @@ automation:
|
|||
action:
|
||||
# 播放文字语音
|
||||
- service: tts.google_say
|
||||
entity_id: media_player.vlc
|
||||
data_template:
|
||||
message: '{{states.input_text.alarm_text.state}}'
|
||||
# 打开灯
|
||||
|
|
|
@ -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" %}
|
||||
|
|
Loading…
Reference in New Issue