2017-08-29 13:40:08 -07:00
|
|
|
"""Constants for the cloud component."""
|
|
|
|
DOMAIN = 'cloud'
|
2017-10-14 19:43:14 -07:00
|
|
|
CONFIG_DIR = '.cloud'
|
2017-08-29 13:40:08 -07:00
|
|
|
REQUEST_TIMEOUT = 10
|
|
|
|
|
|
|
|
SERVERS = {
|
2017-10-14 19:43:14 -07:00
|
|
|
# Example entry:
|
|
|
|
# 'production': {
|
|
|
|
# 'cognito_client_id': '',
|
|
|
|
# 'user_pool_id': '',
|
|
|
|
# 'region': '',
|
|
|
|
# 'relayer': ''
|
|
|
|
# }
|
2017-08-29 13:40:08 -07:00
|
|
|
}
|
2017-11-14 23:16:19 -08:00
|
|
|
|
|
|
|
MESSAGE_EXPIRATION = """
|
|
|
|
It looks like your Home Assistant Cloud subscription has expired. Please check
|
|
|
|
your [account page](/config/cloud/account) to continue using the service.
|
|
|
|
"""
|