If i write one baidu tts in configuration file:
tts:
- platform: baidu
app_id: xxx
api_key: xxxx
secret_key: xxxx
In homeassistant’s ui --media----text to speech,i can see the baidu TTS.
Now to add a new one:
#Download the component
git clone https://github.com/hasscc/hass-baidu-fanyi-tts
sudo cp -R hass-baidu-fanyi-tts/custom_components /home/homeassistant/.homeassistant
Setting in configuration file:
tts:
- platform: baidu
app_id: xxx
api_key: xxxx
secret_key: xxxx
tts:
- platform: baidu_fanyi_tts
language: zh
Restart hass,why only baidu fanyi TTS in ui,baidu TTS lost?