Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.fints.sensor.FinTsClient Class Reference

Public Member Functions

None __init__ (self, BankCredentials credentials, str name, dict account_config, dict holdings_config)
 
FinTS3PinTanClient client (self)
 
tuple[list, list] detect_accounts (self)
 
dict|None get_account_information (self, str iban)
 
bool is_balance_account (self, SEPAAccount account)
 
bool is_holdings_account (self, SEPAAccount account)
 

Public Attributes

 account_config
 
 holdings_config
 
 name
 

Private Attributes

 _account_information
 
 _account_information_fetched
 
 _credentials
 

Detailed Description

Wrapper around the FinTS3PinTanClient.

Use this class as Context Manager to get the FinTS3Client object.

Definition at line 118 of file sensor.py.

Constructor & Destructor Documentation

◆ __init__()

None homeassistant.components.fints.sensor.FinTsClient.__init__ (   self,
BankCredentials  credentials,
str  name,
dict  account_config,
dict  holdings_config 
)
Initialize a FinTsClient.

Definition at line 124 of file sensor.py.

Member Function Documentation

◆ client()

FinTS3PinTanClient homeassistant.components.fints.sensor.FinTsClient.client (   self)
Get the FinTS client object.

The FinTS library persists the current dialog with the bank
and stores bank capabilities. So caching the client is beneficial.

Definition at line 140 of file sensor.py.

◆ detect_accounts()

tuple[list, list] homeassistant.components.fints.sensor.FinTsClient.detect_accounts (   self)
Identify the accounts of the bank.

Definition at line 206 of file sensor.py.

◆ get_account_information()

dict | None homeassistant.components.fints.sensor.FinTsClient.get_account_information (   self,
str  iban 
)
Get a dictionary of account IBANs as key and account information as value.

Definition at line 154 of file sensor.py.

◆ is_balance_account()

bool homeassistant.components.fints.sensor.FinTsClient.is_balance_account (   self,
SEPAAccount  account 
)
Determine if the given account is of type balance account.

Definition at line 166 of file sensor.py.

◆ is_holdings_account()

bool homeassistant.components.fints.sensor.FinTsClient.is_holdings_account (   self,
SEPAAccount  account 
)
Determine if the given account of type holdings account.

Definition at line 186 of file sensor.py.

Member Data Documentation

◆ _account_information

homeassistant.components.fints.sensor.FinTsClient._account_information
private

Definition at line 158 of file sensor.py.

◆ _account_information_fetched

homeassistant.components.fints.sensor.FinTsClient._account_information_fetched
private

Definition at line 134 of file sensor.py.

◆ _credentials

homeassistant.components.fints.sensor.FinTsClient._credentials
private

Definition at line 132 of file sensor.py.

◆ account_config

homeassistant.components.fints.sensor.FinTsClient.account_config

Definition at line 136 of file sensor.py.

◆ holdings_config

homeassistant.components.fints.sensor.FinTsClient.holdings_config

Definition at line 137 of file sensor.py.

◆ name

homeassistant.components.fints.sensor.FinTsClient.name

Definition at line 135 of file sensor.py.


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