Option language does not work for Microsoft Edge TTS
jonalbr opened this issue · comments
Checklist
- I have filled out the template to the best of my ability.
- This only contains 1 feature request (if you have multiple feature requests, open one feature request for each feature request).
- This issue is not a duplicate feature request of previous feature requests.
Is your feature request related to a problem? Please describe.
Hi, if using edge_tts
with the parameter language
the voice stays the default (for me de-DE
) voice and does not adapt to the chosen voice/language.
service: chime_tts.say
target:
entity_id: media_player.arbeitszimmer
data:
chime_path: bells
end_chime_path: ""
offset: 450
final_delay: 0
volume_level: 0.35
message: Das ist ein Test.
tts_platform: edge_tts
language: de-DE-AmalaNeural
I greatly appreciate your help.
Kind regards,
Jonas
Describe the solution you'd like
The parameter 'language' does change the voice as desired.
Describe alternatives you've considered
With the following service provided by Home Assistant / the Edge TTS integration, choosing the language is working:
service: tts.edge_tts_say
data:
entity_id: media_player.arbeitszimmer
language: de-DE-AmalaNeural
message: Das ist ein Test.
Additional context
.
Hi @jonalbr, thank you for the pull request! I've released a new beta version, v0.13.1-beta2, which includes your commit. Could you please upgrade to the new version and let me know if the language
parameter is now working for you with the Microsoft Edge TTS platform?
To install the new beta version:
- Open the Chime TTS repository in HACS
- Click on the
⋮
button in the top right - Select the
↻ Redownload
option - Enable the
Show beta versions
option (it may take a moment to update the list) - Select version
v0.13.1-beta2
from the updated version drop-down list - Restart Home Assistant
I can confirm that the issue is fixed for me in v0.13.1-beta2
.
Thank you Jonas. The fix will be included in the next release.