* Add initial cloud auth * Move hass.data to a dict * Move mode into helper * Fix bugs afte refactor * Add tests * Clean up scripts file after test config * Lint * Update __init__.py
14 lines
464 B
Python
14 lines
464 B
Python
"""Constants for the cloud component."""
|
|
DOMAIN = 'cloud'
|
|
REQUEST_TIMEOUT = 10
|
|
AUTH_FILE = '.cloud'
|
|
|
|
SERVERS = {
|
|
'development': {
|
|
'host': 'http://localhost:8000',
|
|
'client_id': 'HBhQxeV8H4aFBcs7jrZUeeDud0FjGEJJSZ9G6gNu',
|
|
'client_secret': ('V1qw2NhB32cSAlP7DOezjgWNgn7ZKgq0jvVZoYSI0KCmg9rg7q4'
|
|
'BSzoebnQnX6tuHCJiZjm2479mZmmtf2LOUdnSqOqkSpjc3js7Wu'
|
|
'VBJrRyfgTVd43kbrEQtuOiaUpK')
|
|
}
|
|
}
|