Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.google_assistant.http.GoogleConfigStore Class Reference

Public Member Functions

None __init__ (self, HomeAssistant hass)
 
None add_agent_user_id (self, str agent_user_id)
 
dict[str, Any] agent_user_ids (self)
 
None async_initialize (self)
 
None pop_agent_user_id (self, str agent_user_id)
 

Private Attributes

 _data
 
 _hass
 

Static Private Attributes

 _STORAGE_KEY = DOMAIN
 
int _STORAGE_VERSION = 1
 
int _STORAGE_VERSION_MINOR = 2
 

Detailed Description

A configuration store for google assistant.

Definition at line 304 of file http.py.

Constructor & Destructor Documentation

◆ __init__()

None homeassistant.components.google_assistant.http.GoogleConfigStore.__init__ (   self,
HomeAssistant  hass 
)
Initialize a configuration store.

Definition at line 312 of file http.py.

Member Function Documentation

◆ add_agent_user_id()

None homeassistant.components.google_assistant.http.GoogleConfigStore.add_agent_user_id (   self,
str  agent_user_id 
)
Add an agent user id to store.

Definition at line 353 of file http.py.

◆ agent_user_ids()

dict[str, Any] homeassistant.components.google_assistant.http.GoogleConfigStore.agent_user_ids (   self)
Return a list of connected agent user_ids.

Definition at line 348 of file http.py.

◆ async_initialize()

None homeassistant.components.google_assistant.http.GoogleConfigStore.async_initialize (   self)
Finish initializing the ConfigStore.

Definition at line 322 of file http.py.

◆ pop_agent_user_id()

None homeassistant.components.google_assistant.http.GoogleConfigStore.pop_agent_user_id (   self,
str  agent_user_id 
)
Remove agent user id from store.

Definition at line 362 of file http.py.

Member Data Documentation

◆ _data

homeassistant.components.google_assistant.http.GoogleConfigStore._data
private

Definition at line 345 of file http.py.

◆ _hass

homeassistant.components.google_assistant.http.GoogleConfigStore._hass
private

Definition at line 314 of file http.py.

◆ _STORAGE_KEY

homeassistant.components.google_assistant.http.GoogleConfigStore._STORAGE_KEY = DOMAIN
staticprivate

Definition at line 309 of file http.py.

◆ _STORAGE_VERSION

int homeassistant.components.google_assistant.http.GoogleConfigStore._STORAGE_VERSION = 1
staticprivate

Definition at line 307 of file http.py.

◆ _STORAGE_VERSION_MINOR

int homeassistant.components.google_assistant.http.GoogleConfigStore._STORAGE_VERSION_MINOR = 2
staticprivate

Definition at line 308 of file http.py.


The documentation for this class was generated from the following file: