Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.nest.api Namespace Reference

Classes

class  AccessTokenAuthImpl
 
class  AsyncConfigEntryAuth
 

Functions

AdminClient new_pubsub_admin_client (HomeAssistant hass, str access_token, str cloud_project_id)
 
GoogleNestSubscriber|None new_subscriber (HomeAssistant hass, ConfigEntry entry)
 
GoogleNestSubscriber new_subscriber_with_token (HomeAssistant hass, str access_token, str project_id, str subscription_name)
 

Variables

 _LOGGER = logging.getLogger(__name__)
 

Detailed Description

API for Google Nest Device Access bound to Home Assistant OAuth.

Function Documentation

◆ new_pubsub_admin_client()

AdminClient homeassistant.components.nest.api.new_pubsub_admin_client ( HomeAssistant  hass,
str  access_token,
str  cloud_project_id 
)
Create a Nest AdminClient with an access token.

Definition at line 146 of file api.py.

◆ new_subscriber()

GoogleNestSubscriber | None homeassistant.components.nest.api.new_subscriber ( HomeAssistant  hass,
ConfigEntry   entry 
)
Create a GoogleNestSubscriber.

Definition at line 104 of file api.py.

◆ new_subscriber_with_token()

GoogleNestSubscriber homeassistant.components.nest.api.new_subscriber_with_token ( HomeAssistant  hass,
str  access_token,
str  project_id,
str  subscription_name 
)
Create a GoogleNestSubscriber with an access token.

Definition at line 128 of file api.py.

Variable Documentation

◆ _LOGGER

homeassistant.components.nest.api._LOGGER = logging.getLogger(__name__)
private

Definition at line 28 of file api.py.