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:
Robbie Trencheny authored and Pascal Vizeli committed 2017-01-26 23:22:47 +01:00
1 parent 636e7aa31e
commit 7136fd0f0a
8 files changed
+192 -6

No files matched your search

@@ -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'