Don't connect to cloud if subscription expired (#11163)
* Final touch for cloud component * Fix test
This commit is contained in:
parent
c4d71e934d
commit
b56675a7bb
4 changed files with 14 additions and 25 deletions
|
@ -4,13 +4,12 @@ CONFIG_DIR = '.cloud'
|
|||
REQUEST_TIMEOUT = 10
|
||||
|
||||
SERVERS = {
|
||||
# Example entry:
|
||||
# 'production': {
|
||||
# 'cognito_client_id': '',
|
||||
# 'user_pool_id': '',
|
||||
# 'region': '',
|
||||
# 'relayer': ''
|
||||
# }
|
||||
'production': {
|
||||
'cognito_client_id': '60i2uvhvbiref2mftj7rgcrt9u',
|
||||
'user_pool_id': 'us-east-1_87ll5WOP8',
|
||||
'region': 'us-east-1',
|
||||
'relayer': 'wss://cloud.hass.io:8000/websocket'
|
||||
}
|
||||
}
|
||||
|
||||
MESSAGE_EXPIRATION = """
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue