# Example configuration.yaml entry for Google Translate TTS service
tts:
- platform: google_translate
cache: true
cache_dir: /tmp/tts
time_memory: 300
language: 'zh-tw' # Default Language
base_url: http://<Your HA IP address>:8123
service_name: google_say
media_player.jn_room 是 google mini nest 2
然後發現語音會以外國腔唸出來,這裡要轉成中文腔調,就需要做 Language 的設定。勾選並設定為「zh-CN」,就會是熟悉的Google小姐語音。
# Example configuration.yaml entry for Google Translate TTS service
tts:
- platform: google_translate
cache: true
cache_dir: /tmp/tts
time_memory: 300
language: 'zh-tw' # Default Language
base_url: http://<Your HA IP address>:8123
service_name: google_say