Add an Amazon Polly TTS platform (#5169)
* Remove SPEED_MED from fan * Add an Amazon Polly TTS platform * Update boto library version for notify.aws_* platforms to match the tts.amazon_polly req * Improve log line and add docstring to function * Simplify config logic * Remove duplicate logic * Don't know how this got in here... * initial options work * Remove stale config option and only allow supported languages * Make requested changes * Polly is only supported in some regions * Allow filename to contain underscores (for amazon_polly platform name), remove unnecessary default_lang, other small things * Add options dict to service description
This commit is contained in:
parent
636e7aa31e
commit
7136fd0f0a
8 changed files with 192 additions and 6 deletions
|
@ -17,7 +17,7 @@ from homeassistant.components.notify import (
|
|||
import homeassistant.helpers.config_validation as cv
|
||||
|
||||
_LOGGER = logging.getLogger(__name__)
|
||||
REQUIREMENTS = ["boto3==1.3.1"]
|
||||
REQUIREMENTS = ["boto3==1.4.3"]
|
||||
|
||||
CONF_REGION = 'region_name'
|
||||
CONF_ACCESS_KEY_ID = 'aws_access_key_id'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue