Updating IBM Watson SDK, replacing TTS API endpoint (#50909)

This commit is contained in:
András Rutkai 2021-05-25 17:38:09 +02:00 committed by GitHub
parent 4875035ff8
commit 727ca79b93
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View File

@ -2,7 +2,7 @@
"domain": "watson_tts", "domain": "watson_tts",
"name": "IBM Watson TTS", "name": "IBM Watson TTS",
"documentation": "https://www.home-assistant.io/integrations/watson_tts", "documentation": "https://www.home-assistant.io/integrations/watson_tts",
"requirements": ["ibm-watson==4.0.1"], "requirements": ["ibm-watson==5.1.0"],
"codeowners": ["@rutkai"], "codeowners": ["@rutkai"],
"iot_class": "cloud_push" "iot_class": "cloud_push"
} }

View File

@ -13,7 +13,7 @@ _LOGGER = logging.getLogger(__name__)
CONF_URL = "watson_url" CONF_URL = "watson_url"
CONF_APIKEY = "watson_apikey" CONF_APIKEY = "watson_apikey"
DEFAULT_URL = "https://stream.watsonplatform.net/text-to-speech/api" DEFAULT_URL = "https://api.us-south.text-to-speech.watson.cloud.ibm.com"
CONF_VOICE = "voice" CONF_VOICE = "voice"
CONF_OUTPUT_FORMAT = "output_format" CONF_OUTPUT_FORMAT = "output_format"

View File

@ -810,7 +810,7 @@ iammeter==0.1.7
iaqualink==0.3.4 iaqualink==0.3.4
# homeassistant.components.watson_tts # homeassistant.components.watson_tts
ibm-watson==4.0.1 ibm-watson==5.1.0
# homeassistant.components.watson_iot # homeassistant.components.watson_iot
ibmiotf==0.3.4 ibmiotf==0.3.4