ha_gehome/ge_kitchen/const.py

19 lines
504 B
Python
Raw Normal View History

2020-08-12 09:03:22 -06:00
"""Constants for the ge_kitchen integration."""
2020-08-13 15:10:55 -06:00
from gekitchen.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