请问你用谷歌可以天气语音播报吗?我用时谷歌时,tts直接读传感器拼音,同样设定用百度却没有问题。写法有区别?
- id: '1008501100101'
alias: tianqi-01
description: 天气播报
trigger:
- at: '7:30'
platform: time
condition: []
action:
- service: tts.baidu_say
entity_id: media_player.tts
data_template:
message: "现在播报天气信息。温度 {{states('sensor.xin_yi_tian_qi_wen_du')}} 摄氏度,湿度 ,百分之{{states('sensor.xin_yi_tian_qi_shi_du')}}, {{states('sensor.weather_xin_yi_tian_qi_forecast_hourly')}}, {{states('sensor.weather_xin_yi_tian_qi_forecast_minutely')}}。"
cache: false
|