* WIP test * WIP * WIP Reauth flow. Test fail otherways OK. * Minor adjustments to tests * Merge * Merge * Next level... * Cleanup according to review * It works! * Simplify setup * Remove default * Remove files from PR * Add back test_init * Add back test_sensor * Adjust error message --------- Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
8 lines
290 B
Python
8 lines
290 B
Python
"""Constants for the myUplink integration."""
|
|
|
|
DOMAIN = "myuplink"
|
|
|
|
API_ENDPOINT = "https://api.myuplink.com"
|
|
OAUTH2_AUTHORIZE = "https://api.myuplink.com/oauth/authorize"
|
|
OAUTH2_TOKEN = "https://api.myuplink.com/oauth/token"
|
|
OAUTH2_SCOPES = ["WRITESYSTEM", "READSYSTEM", "offline_access"]
|