mirror of
https://github.com/home-assistant/core.git
synced 2025-07-24 21:57:51 +00:00
Use core constants for amazon polly (#45938)
This commit is contained in:
parent
d44c941efe
commit
9c6c2a77ab
@ -6,6 +6,7 @@ import botocore
|
|||||||
import voluptuous as vol
|
import voluptuous as vol
|
||||||
|
|
||||||
from homeassistant.components.tts import PLATFORM_SCHEMA, Provider
|
from homeassistant.components.tts import PLATFORM_SCHEMA, Provider
|
||||||
|
from homeassistant.const import ATTR_CREDENTIALS, CONF_PROFILE_NAME
|
||||||
import homeassistant.helpers.config_validation as cv
|
import homeassistant.helpers.config_validation as cv
|
||||||
|
|
||||||
_LOGGER = logging.getLogger(__name__)
|
_LOGGER = logging.getLogger(__name__)
|
||||||
@ -13,8 +14,6 @@ _LOGGER = logging.getLogger(__name__)
|
|||||||
CONF_REGION = "region_name"
|
CONF_REGION = "region_name"
|
||||||
CONF_ACCESS_KEY_ID = "aws_access_key_id"
|
CONF_ACCESS_KEY_ID = "aws_access_key_id"
|
||||||
CONF_SECRET_ACCESS_KEY = "aws_secret_access_key"
|
CONF_SECRET_ACCESS_KEY = "aws_secret_access_key"
|
||||||
CONF_PROFILE_NAME = "profile_name"
|
|
||||||
ATTR_CREDENTIALS = "credentials"
|
|
||||||
|
|
||||||
DEFAULT_REGION = "us-east-1"
|
DEFAULT_REGION = "us-east-1"
|
||||||
SUPPORTED_REGIONS = [
|
SUPPORTED_REGIONS = [
|
||||||
|
Loading…
x
Reference in New Issue
Block a user