Skip to content
Snippets Groups Projects
Commit c31ab7a1 authored by Jason Hu's avatar Jason Hu Committed by Paulus Schoutsen
Browse files

Fix tts Great Migration issue (#22539)

parent 4e78d895
No related branches found
No related tags found
No related merge requests found
Showing
with 21 additions and 13 deletions
"""Support for Amazon Polly integration."""
......@@ -8,10 +8,9 @@ import logging
import voluptuous as vol
from homeassistant.components.tts import PLATFORM_SCHEMA, Provider
import homeassistant.helpers.config_validation as cv
from . import PLATFORM_SCHEMA, Provider
REQUIREMENTS = ['boto3==1.9.16']
_LOGGER = logging.getLogger(__name__)
......
"""Support for Baidu integration."""
......@@ -9,11 +9,10 @@ import logging
import voluptuous as vol
from homeassistant.components.tts import CONF_LANG, PLATFORM_SCHEMA, Provider
from homeassistant.const import CONF_API_KEY
import homeassistant.helpers.config_validation as cv
from . import CONF_LANG, PLATFORM_SCHEMA, Provider
REQUIREMENTS = ["baidu-aip==1.6.6"]
_LOGGER = logging.getLogger(__name__)
......
"""Support for MaryTTS integration."""
......@@ -12,12 +12,11 @@ import aiohttp
import async_timeout
import voluptuous as vol
from homeassistant.components.tts import CONF_LANG, PLATFORM_SCHEMA, Provider
from homeassistant.const import CONF_HOST, CONF_PORT
from homeassistant.helpers.aiohttp_client import async_get_clientsession
import homeassistant.helpers.config_validation as cv
from homeassistant.components.tts import CONF_LANG, PLATFORM_SCHEMA, Provider
_LOGGER = logging.getLogger(__name__)
SUPPORT_LANGUAGES = [
......
"""Support for Microsoft integration."""
......@@ -9,11 +9,10 @@ import logging
import voluptuous as vol
from homeassistant.components.tts import CONF_LANG, PLATFORM_SCHEMA, Provider
from homeassistant.const import CONF_API_KEY, CONF_TYPE
import homeassistant.helpers.config_validation as cv
from . import CONF_LANG, PLATFORM_SCHEMA, Provider
CONF_GENDER = 'gender'
CONF_OUTPUT = 'output'
CONF_RATE = 'rate'
......
"""Support for pico integration."""
......@@ -12,7 +12,7 @@ import tempfile
import voluptuous as vol
from . import CONF_LANG, PLATFORM_SCHEMA, Provider
from homeassistant.components.tts import CONF_LANG, PLATFORM_SCHEMA, Provider
_LOGGER = logging.getLogger(__name__)
......
"""Support for VoiceRSS integration."""
......@@ -11,12 +11,11 @@ import aiohttp
import async_timeout
import voluptuous as vol
from homeassistant.components.tts import CONF_LANG, PLATFORM_SCHEMA, Provider
from homeassistant.const import CONF_API_KEY
from homeassistant.helpers.aiohttp_client import async_get_clientsession
import homeassistant.helpers.config_validation as cv
from homeassistant.components.tts import CONF_LANG, PLATFORM_SCHEMA, Provider
_LOGGER = logging.getLogger(__name__)
VOICERSS_API_URL = "https://api.voicerss.org/"
......
"""Support for the yandex speechkit tts integration."""
......@@ -11,12 +11,11 @@ import aiohttp
import async_timeout
import voluptuous as vol
from homeassistant.components.tts import CONF_LANG, PLATFORM_SCHEMA, Provider
from homeassistant.const import CONF_API_KEY
from homeassistant.helpers.aiohttp_client import async_get_clientsession
import homeassistant.helpers.config_validation as cv
from homeassistant.components.tts import CONF_LANG, PLATFORM_SCHEMA, Provider
_LOGGER = logging.getLogger(__name__)
YANDEX_API_URL = "https://tts.voicetech.yandex.net/generate?"
......
......@@ -194,6 +194,9 @@ av==6.1.2
# homeassistant.components.axis
axis==19
# homeassistant.components.baidu.tts
baidu-aip==1.6.6
# homeassistant.components.modem_callerid.sensor
basicmodem==0.7
......@@ -233,6 +236,7 @@ blockchain==1.4.4
# bme680==1.0.5
# homeassistant.components.route53
# homeassistant.components.amazon_polly.tts
# homeassistant.components.aws_lambda.notify
# homeassistant.components.aws_sns.notify
# homeassistant.components.aws_sqs.notify
......@@ -987,6 +991,9 @@ pycomfoconnect==0.3
# homeassistant.components.coolmaster.climate
pycoolmasternet==0.0.4
# homeassistant.components.microsoft.tts
pycsspeechtts==1.0.2
# homeassistant.components.cups.sensor
# pycups==1.9.73
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment