Classes | |
| class | NestFlowHandler |
Functions | |
| str | _generate_subscription_id (str cloud_project_id) |
| str|None | generate_config_title (Iterable[Structure] structures) |
Variables | |
| _LOGGER = logging.getLogger(__name__) | |
| string | CLOUD_CONSOLE_URL = "https://console.cloud.google.com/home/dashboard" |
| string | CREATE_NEW_SUBSCRIPTION_KEY = "create_new_subscription" |
| string | DATA_FLOW_IMPL = "nest_flow_implementation" |
| tuple | DEVICE_ACCESS_CONSOLE_EDIT_URL |
| string | DEVICE_ACCESS_CONSOLE_URL = "https://console.nest.google.com/device-access/" |
| string | MORE_INFO_URL = "https://www.home-assistant.io/integrations/nest/#configuration" |
| string | PUBSUB_API_URL = "https://console.cloud.google.com/apis/library/pubsub.googleapis.com" |
| tuple | SDM_API_URL |
| string | SUBSCRIPTION_FORMAT = "projects/{cloud_project_id}/subscriptions/home-assistant-{rnd}" |
| int | SUBSCRIPTION_RAND_LENGTH = 10 |
Config flow to configure Nest. This configuration flow supports the following: - SDM API with Web OAuth flow with redirect back to Home Assistant - Legacy Nest API auth flow with where user enters an auth code manually NestFlowHandler is an implementation of AbstractOAuth2FlowHandler with some overrides to custom steps inserted in the middle of the flow.
|
private |
Create a new subscription id.
Definition at line 67 of file config_flow.py.
| str | None homeassistant.components.nest.config_flow.generate_config_title | ( | Iterable[Structure] | structures | ) |
Pick a user friendly config title based on the Google Home name(s).
Definition at line 73 of file config_flow.py.
|
private |
Definition at line 64 of file config_flow.py.
| string homeassistant.components.nest.config_flow.CLOUD_CONSOLE_URL = "https://console.cloud.google.com/home/dashboard" |
Definition at line 50 of file config_flow.py.
| string homeassistant.components.nest.config_flow.CREATE_NEW_SUBSCRIPTION_KEY = "create_new_subscription" |
Definition at line 62 of file config_flow.py.
| string homeassistant.components.nest.config_flow.DATA_FLOW_IMPL = "nest_flow_implementation" |
Definition at line 43 of file config_flow.py.
| tuple homeassistant.components.nest.config_flow.DEVICE_ACCESS_CONSOLE_EDIT_URL |
Definition at line 59 of file config_flow.py.
| string homeassistant.components.nest.config_flow.DEVICE_ACCESS_CONSOLE_URL = "https://console.nest.google.com/device-access/" |
Definition at line 57 of file config_flow.py.
| string homeassistant.components.nest.config_flow.MORE_INFO_URL = "https://www.home-assistant.io/integrations/nest/#configuration" |
Definition at line 47 of file config_flow.py.
| string homeassistant.components.nest.config_flow.PUBSUB_API_URL = "https://console.cloud.google.com/apis/library/pubsub.googleapis.com" |
Definition at line 54 of file config_flow.py.
| tuple homeassistant.components.nest.config_flow.SDM_API_URL |
Definition at line 51 of file config_flow.py.
| string homeassistant.components.nest.config_flow.SUBSCRIPTION_FORMAT = "projects/{cloud_project_id}/subscriptions/home-assistant-{rnd}" |
Definition at line 44 of file config_flow.py.
| int homeassistant.components.nest.config_flow.SUBSCRIPTION_RAND_LENGTH = 10 |
Definition at line 45 of file config_flow.py.