2020-08-12 09:03:22 -06:00
|
|
|
"""Constants for the ge_kitchen integration."""
|
2020-12-29 15:01:29 -07:00
|
|
|
from gekitchensdk.const import LOGIN_URL
|
2020-08-12 09:03:22 -06:00
|
|
|
|
|
|
|
DOMAIN = "ge_kitchen"
|
|
|
|
|
|
|
|
# TODO Update with your own urls
|
2020-08-13 15:10:55 -06:00
|
|
|
# OAUTH2_AUTHORIZE = f"{LOGIN_URL}/oauth2/auth"
|
|
|
|
OAUTH2_AUTH_URL = f"{LOGIN_URL}/oauth2/auth"
|
|
|
|
OAUTH2_TOKEN_URL = f"{LOGIN_URL}/oauth2/token"
|
|
|
|
|
|
|
|
AUTH_HANDLER = "auth_handler"
|
|
|
|
EVENT_ALL_APPLIANCES_READY = 'all_appliances_ready'
|
|
|
|
COORDINATOR = "coordinator"
|
|
|
|
GE_TOKEN = "ge_token"
|
|
|
|
MOBILE_DEVICE_TOKEN = "mdt"
|
|
|
|
XMPP_CREDENTIALS = "xmpp_credentials"
|
|
|
|
|
2020-09-17 20:22:51 -06:00
|
|
|
UPDATE_INTERVAL = 30
|
2020-12-30 16:03:50 -07:00
|
|
|
ASYNC_TIMEOUT = 30
|
|
|
|
MIN_RETRY_DELAY = 15
|
|
|
|
MAX_RETRY_DELAY = 1800
|
|
|
|
|