mirror of
https://github.com/home-assistant/core.git
synced 2025-08-09 23:55:07 +02:00
Split too long line
This commit is contained in:
@@ -103,7 +103,18 @@ async def async_get_engine(hass, config):
|
|||||||
class GoogleCloudTTSProvider(Provider):
|
class GoogleCloudTTSProvider(Provider):
|
||||||
"""The Google Cloud TTS API provider."""
|
"""The Google Cloud TTS API provider."""
|
||||||
|
|
||||||
def __init__(self, hass, key_file, lang, gender, voice, encoding, speed, pitch, gain):
|
def __init__(
|
||||||
|
self,
|
||||||
|
hass,
|
||||||
|
key_file,
|
||||||
|
lang,
|
||||||
|
gender,
|
||||||
|
voice,
|
||||||
|
encoding,
|
||||||
|
speed,
|
||||||
|
pitch,
|
||||||
|
gain
|
||||||
|
):
|
||||||
"""Init Google Cloud TTS service."""
|
"""Init Google Cloud TTS service."""
|
||||||
self.hass = hass
|
self.hass = hass
|
||||||
self.name = 'Google Cloud TTS'
|
self.name = 'Google Cloud TTS'
|
||||||
|
Reference in New Issue
Block a user