diff --git a/homeassistant/components/amazon_polly/__init__.py b/homeassistant/components/amazon_polly/__init__.py new file mode 100644 index 00000000000..0fab4af43e6 --- /dev/null +++ b/homeassistant/components/amazon_polly/__init__.py @@ -0,0 +1 @@ +"""Support for Amazon Polly integration.""" diff --git a/homeassistant/components/amazon_polly/tts.py b/homeassistant/components/amazon_polly/tts.py index 12383df115a..167cd9cfc78 100644 --- a/homeassistant/components/amazon_polly/tts.py +++ b/homeassistant/components/amazon_polly/tts.py @@ -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__) diff --git a/homeassistant/components/baidu/__init__.py b/homeassistant/components/baidu/__init__.py new file mode 100644 index 00000000000..8a332cf52e1 --- /dev/null +++ b/homeassistant/components/baidu/__init__.py @@ -0,0 +1 @@ +"""Support for Baidu integration.""" diff --git a/homeassistant/components/baidu/tts.py b/homeassistant/components/baidu/tts.py index e7a1f368f1d..07b69d41dfd 100644 --- a/homeassistant/components/baidu/tts.py +++ b/homeassistant/components/baidu/tts.py @@ -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__) diff --git a/homeassistant/components/marytts/__init__.py b/homeassistant/components/marytts/__init__.py new file mode 100644 index 00000000000..ec85cb6d4ab --- /dev/null +++ b/homeassistant/components/marytts/__init__.py @@ -0,0 +1 @@ +"""Support for MaryTTS integration.""" diff --git a/homeassistant/components/marytts/tts.py b/homeassistant/components/marytts/tts.py index 8f6a46b0c3e..f5d19c977a4 100644 --- a/homeassistant/components/marytts/tts.py +++ b/homeassistant/components/marytts/tts.py @@ -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 = [ diff --git a/homeassistant/components/microsoft/__init__.py b/homeassistant/components/microsoft/__init__.py new file mode 100644 index 00000000000..2d281cd2bd8 --- /dev/null +++ b/homeassistant/components/microsoft/__init__.py @@ -0,0 +1 @@ +"""Support for Microsoft integration.""" diff --git a/homeassistant/components/microsoft/tts.py b/homeassistant/components/microsoft/tts.py index ab9fb576c28..55cf7a4ae7a 100644 --- a/homeassistant/components/microsoft/tts.py +++ b/homeassistant/components/microsoft/tts.py @@ -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' diff --git a/homeassistant/components/picotts/__init__.py b/homeassistant/components/picotts/__init__.py new file mode 100644 index 00000000000..7ffc80db2f9 --- /dev/null +++ b/homeassistant/components/picotts/__init__.py @@ -0,0 +1 @@ +"""Support for pico integration.""" diff --git a/homeassistant/components/picotts/tts.py b/homeassistant/components/picotts/tts.py index 99d3b5e9786..c164e7fb85d 100644 --- a/homeassistant/components/picotts/tts.py +++ b/homeassistant/components/picotts/tts.py @@ -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__) diff --git a/homeassistant/components/voicerss/__init__.py b/homeassistant/components/voicerss/__init__.py new file mode 100644 index 00000000000..4894ca30bbd --- /dev/null +++ b/homeassistant/components/voicerss/__init__.py @@ -0,0 +1 @@ +"""Support for VoiceRSS integration.""" diff --git a/homeassistant/components/voicerss/tts.py b/homeassistant/components/voicerss/tts.py index 20e0ee11db3..436f070e503 100644 --- a/homeassistant/components/voicerss/tts.py +++ b/homeassistant/components/voicerss/tts.py @@ -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/" diff --git a/homeassistant/components/yandextts/__init__.py b/homeassistant/components/yandextts/__init__.py new file mode 100644 index 00000000000..86ac9b58f73 --- /dev/null +++ b/homeassistant/components/yandextts/__init__.py @@ -0,0 +1 @@ +"""Support for the yandex speechkit tts integration.""" diff --git a/homeassistant/components/yandextts/tts.py b/homeassistant/components/yandextts/tts.py index 281839a2d74..e60b890e84f 100644 --- a/homeassistant/components/yandextts/tts.py +++ b/homeassistant/components/yandextts/tts.py @@ -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?" diff --git a/requirements_all.txt b/requirements_all.txt index 66ad3d04430..cad043272bf 100644 --- a/requirements_all.txt +++ b/requirements_all.txt @@ -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