2017-08-29 20:40:08 +00:00
|
|
|
"""Constants for the cloud component."""
|
|
|
|
DOMAIN = 'cloud'
|
|
|
|
REQUEST_TIMEOUT = 10
|
|
|
|
|
2018-11-20 22:23:07 +00:00
|
|
|
PREF_ENABLE_ALEXA = 'alexa_enabled'
|
|
|
|
PREF_ENABLE_GOOGLE = 'google_enabled'
|
2019-03-12 14:54:04 +00:00
|
|
|
PREF_ENABLE_REMOTE = 'remote_enabled'
|
2018-11-20 22:23:07 +00:00
|
|
|
PREF_GOOGLE_ALLOW_UNLOCK = 'google_allow_unlock'
|
2018-11-26 13:10:18 +00:00
|
|
|
PREF_CLOUDHOOKS = 'cloudhooks'
|
2019-03-14 23:18:31 +00:00
|
|
|
PREF_CLOUD_USER = 'cloud_user'
|
2018-11-20 22:23:07 +00:00
|
|
|
|
2019-03-11 19:21:20 +00:00
|
|
|
CONF_ALEXA = 'alexa'
|
|
|
|
CONF_ALIASES = 'aliases'
|
|
|
|
CONF_COGNITO_CLIENT_ID = 'cognito_client_id'
|
|
|
|
CONF_ENTITY_CONFIG = 'entity_config'
|
|
|
|
CONF_FILTER = 'filter'
|
|
|
|
CONF_GOOGLE_ACTIONS = 'google_actions'
|
|
|
|
CONF_RELAYER = 'relayer'
|
|
|
|
CONF_USER_POOL_ID = 'user_pool_id'
|
|
|
|
CONF_GOOGLE_ACTIONS_SYNC_URL = 'google_actions_sync_url'
|
|
|
|
CONF_SUBSCRIPTION_INFO_URL = 'subscription_info_url'
|
|
|
|
CONF_CLOUDHOOK_CREATE_URL = 'cloudhook_create_url'
|
|
|
|
CONF_REMOTE_API_URL = 'remote_api_url'
|
|
|
|
CONF_ACME_DIRECTORY_SERVER = 'acme_directory_server'
|
2017-11-15 07:16:19 +00:00
|
|
|
|
2019-03-11 19:21:20 +00:00
|
|
|
MODE_DEV = "development"
|
|
|
|
MODE_PROD = "production"
|
2019-03-15 17:39:53 +00:00
|
|
|
|
|
|
|
DISPATCHER_REMOTE_UPDATE = 'cloud_remote_update'
|