1 """Constants used by the Nest component."""
5 DATA_SUBSCRIBER =
"subscriber"
6 DATA_DEVICE_MANAGER =
"device_manager"
8 WEB_AUTH_DOMAIN = DOMAIN
9 INSTALLED_AUTH_DOMAIN = f
"{DOMAIN}.installed"
11 CONF_PROJECT_ID =
"project_id"
12 CONF_TOPIC_NAME =
"topic_name"
13 CONF_SUBSCRIPTION_NAME =
"subscription_name"
14 CONF_SUBSCRIBER_ID =
"subscriber_id"
15 CONF_SUBSCRIBER_ID_IMPORTED =
"subscriber_id_imported"
16 CONF_CLOUD_PROJECT_ID =
"cloud_project_id"
18 CONNECTIVITY_TRAIT_OFFLINE =
"OFFLINE"
20 SIGNAL_NEST_UPDATE =
"nest_update"
24 "https://nestservices.google.com/partnerconnections/{project_id}/auth"
26 OAUTH2_TOKEN =
"https://www.googleapis.com/oauth2/v4/token"
28 "https://www.googleapis.com/auth/sdm.service",
29 "https://www.googleapis.com/auth/pubsub",
31 API_URL =
"https://smartdevicemanagement.googleapis.com/v1"