Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.renault.renault_hub.RenaultHub Class Reference

Public Member Functions

None __init__ (self, HomeAssistant hass, str locale)
 
None async_initialise (self, ConfigEntry config_entry)
 
None async_initialise_vehicle (self, KamereonVehiclesLink vehicle_link, RenaultAccount renault_account, timedelta scan_interval, ConfigEntry config_entry, dr.DeviceRegistry device_registry)
 
bool attempt_login (self, str username, str password)
 
list[str] get_account_ids (self)
 
dict[str, RenaultVehicleProxyvehicles (self)
 

Private Attributes

 _account
 
 _client
 
 _hass
 

Detailed Description

Handle account communication with Renault servers.

Definition at line 33 of file renault_hub.py.

Constructor & Destructor Documentation

◆ __init__()

None homeassistant.components.renault.renault_hub.RenaultHub.__init__ (   self,
HomeAssistant  hass,
str  locale 
)
Initialise proxy.

Definition at line 36 of file renault_hub.py.

Member Function Documentation

◆ async_initialise()

None homeassistant.components.renault.renault_hub.RenaultHub.async_initialise (   self,
ConfigEntry  config_entry 
)
Set up proxy.

Definition at line 55 of file renault_hub.py.

◆ async_initialise_vehicle()

None homeassistant.components.renault.renault_hub.RenaultHub.async_initialise_vehicle (   self,
KamereonVehiclesLink  vehicle_link,
RenaultAccount  renault_account,
timedelta  scan_interval,
ConfigEntry  config_entry,
dr.DeviceRegistry  device_registry 
)
Set up proxy.

Definition at line 84 of file renault_hub.py.

◆ attempt_login()

bool homeassistant.components.renault.renault_hub.RenaultHub.attempt_login (   self,
str  username,
str  password 
)
Attempt login to Renault servers.

Definition at line 45 of file renault_hub.py.

◆ get_account_ids()

list[str] homeassistant.components.renault.renault_hub.RenaultHub.get_account_ids (   self)
Get Kamereon account ids.

Definition at line 113 of file renault_hub.py.

◆ vehicles()

dict[str, RenaultVehicleProxy] homeassistant.components.renault.renault_hub.RenaultHub.vehicles (   self)
Get list of vehicles.

Definition at line 125 of file renault_hub.py.

Member Data Documentation

◆ _account

homeassistant.components.renault.renault_hub.RenaultHub._account
private

Definition at line 60 of file renault_hub.py.

◆ _client

homeassistant.components.renault.renault_hub.RenaultHub._client
private

Definition at line 39 of file renault_hub.py.

◆ _hass

homeassistant.components.renault.renault_hub.RenaultHub._hass
private

Definition at line 38 of file renault_hub.py.


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