home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
73.43k stars 30.67k forks source link

watson_tts voices - some are removed since march, 31 2023 #91104

Closed lxz81 closed 1 year ago

lxz81 commented 1 year ago

The problem

some of the neural voices are removed and replaced by enhanced voices, see https://cloud.ibm.com/docs/text-to-speech?topic=text-to-speech-voices-migrate

What version of Home Assistant Core has the issue?

core-2023.4.0

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant Container

Integration causing the issue

watson_tts

Link to integration documentation on our website

https://www.home-assistant.io/integrations/watson_tts/

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

the file homeassistant/components/watson_tts/tts.py contains allowed and deprecated voices for this integration. However, it should be updated because i.e. the Dutch voices are no longer working. See https://cloud.ibm.com/docs/text-to-speech?topic=text-to-speech-voices-migrate for the new voice names

Additional information

No response

home-assistant[bot] commented 1 year ago

Hey there @rutkai, mind taking a look at this issue as it has been labeled with an integration (watson_tts) you are listed as a code owner for? Thanks!

Code owner commands Code owners of `watson_tts` can trigger bot actions by commenting: - `@home-assistant close` Closes the issue. - `@home-assistant rename Awesome new title` Renames the issue. - `@home-assistant reopen` Reopen the issue. - `@home-assistant unassign watson_tts` Removes the current integration label and assignees on the issue, add the integration domain after the command.

(message by CodeOwnersMention)


watson_tts documentation watson_tts source (message by IssueLinks)

rutkai commented 1 year ago

My IBM account is bricked atm but once I regain access, I'll create a patch for this issue, but I need API access to fetch the available voices.

Feel free to unblock this issue by creating a quick PR for it if you can, though. :)

lxz81 commented 1 year ago

unfortunately, I'm not sure how to create a PR.. But here's the list of the currently supported voices: according to the {api}/v1/voices

"de-DE_BirgitV2Voice",
"de-DE_BirgitV3Voice",
"de-DE_BirgitVoice",
"de-DE_DieterV2Voice",
"de-DE_DieterV3Voice",
"de-DE_DieterVoice",
"de-DE_ErikaV3Voice",
"en-AU_HeidiExpressive",
"en-AU_JackExpressive",
"en-GB_CharlotteV3Voice",
"en-GB_JamesV3Voice",
"en-GB_KateV3Voice",
"en-GB_KateVoice",
"en-US_AllisonExpressive",
"en-US_AllisonV2Voice",
"en-US_AllisonV3Voice",
"en-US_AllisonVoice",
"en-US_EmilyV3Voice",
"en-US_EmmaExpressive",
"en-US_HenryV3Voice",
"en-US_KevinV3Voice",
"en-US_LisaExpressive",
"en-US_LisaV2Voice",
"en-US_LisaV3Voice",
"en-US_LisaVoice",
"en-US_MichaelExpressive",
"en-US_MichaelV2Voice",
"en-US_MichaelV3Voice",
"en-US_MichaelVoice",
"en-US_OliviaV3Voice",
"es-ES_EnriqueV3Voice",
"es-ES_EnriqueVoice",
"es-ES_LauraV3Voice",
"es-ES_LauraVoice",
"es-LA_SofiaV3Voice",
"es-LA_SofiaVoice",
"es-US_SofiaV3Voice",
"es-US_SofiaVoice",
"fr-CA_LouiseV3Voice",
"fr-FR_NicolasV3Voice",
"fr-FR_ReneeV3Voice",
"fr-FR_ReneeVoice",
"it-IT_FrancescaV2Voice",
"it-IT_FrancescaV3Voice",
"it-IT_FrancescaVoice",
"ja-JP_EmiV3Voice",
"ja-JP_EmiVoice",
"ko-KR_JinV3Voice",
"nl-NL_MerelV3Voice",
"pt-BR_IsabelaV3Voice",
"pt-BR_IsabelaVoice"
rutkai commented 1 year ago

Thanks @lxz81 for the list. I opened three tickets to IBM support, then ultimately, I got rejected so currently I don't even have access to Watson. Awesome IBM experience ¯_(ツ)_/¯

Anyway, the PR is open based on your comment.

lxz81 commented 1 year ago

hi @rutkai, thanks for creating this PR. Looks good to me