Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.home_connect.api.ConfigEntryAuth Class Reference
Inheritance diagram for homeassistant.components.home_connect.api.ConfigEntryAuth:
[legend]
Collaboration diagram for homeassistant.components.home_connect.api.ConfigEntryAuth:
[legend]

Public Member Functions

None __init__ (self, HomeAssistant hass, ConfigEntry config_entry, config_entry_oauth2_flow.AbstractOAuth2Implementation implementation)
 
list[HomeConnectAppliance] get_devices (self)
 
dict refresh_tokens (self)
 

Public Attributes

 config_entry
 
 devices
 
 hass
 
 session
 

Detailed Description

Provide Home Connect authentication tied to an OAuth2 based config entry.

Definition at line 19 of file api.py.

Constructor & Destructor Documentation

◆ __init__()

None homeassistant.components.home_connect.api.ConfigEntryAuth.__init__ (   self,
HomeAssistant  hass,
ConfigEntry  config_entry,
config_entry_oauth2_flow.AbstractOAuth2Implementation  implementation 
)
Initialize Home Connect Auth.

Definition at line 22 of file api.py.

Member Function Documentation

◆ get_devices()

list[HomeConnectAppliance] homeassistant.components.home_connect.api.ConfigEntryAuth.get_devices (   self)
Get a dictionary of devices.

Definition at line 45 of file api.py.

◆ refresh_tokens()

dict homeassistant.components.home_connect.api.ConfigEntryAuth.refresh_tokens (   self)
Refresh and return new Home Connect tokens using Home Assistant OAuth2 session.

Definition at line 37 of file api.py.

Member Data Documentation

◆ config_entry

homeassistant.components.home_connect.api.ConfigEntryAuth.config_entry

Definition at line 30 of file api.py.

◆ devices

homeassistant.components.home_connect.api.ConfigEntryAuth.devices

Definition at line 48 of file api.py.

◆ hass

homeassistant.components.home_connect.api.ConfigEntryAuth.hass

Definition at line 29 of file api.py.

◆ session

homeassistant.components.home_connect.api.ConfigEntryAuth.session

Definition at line 31 of file api.py.


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