Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.dsmr.config_flow.DSMRConnection Class Reference

Public Member Functions

None __init__ (self, str|None host, int port, str dsmr_version, str protocol)
 
str|None equipment_identifier (self)
 
str|None equipment_identifier_gas (self)
 
bool validate_connect (self, HomeAssistant hass)
 

Private Attributes

 _dsmr_version
 
 _equipment_identifier
 
 _host
 
 _port
 
 _protocol
 
 _telegram
 

Detailed Description

Test the connection to DSMR and receive telegram to read serial ids.

Definition at line 47 of file config_flow.py.

Constructor & Destructor Documentation

◆ __init__()

None homeassistant.components.dsmr.config_flow.DSMRConnection.__init__ (   self,
str | None  host,
int  port,
str  dsmr_version,
str   protocol 
)
Test the connection to DSMR and receive telegram to read serial ids.
Initialize.

Definition at line 50 of file config_flow.py.

Member Function Documentation

◆ equipment_identifier()

str | None homeassistant.components.dsmr.config_flow.DSMRConnection.equipment_identifier (   self)
Equipment identifier.

Definition at line 67 of file config_flow.py.

◆ equipment_identifier_gas()

str | None homeassistant.components.dsmr.config_flow.DSMRConnection.equipment_identifier_gas (   self)
Equipment identifier gas.

Definition at line 75 of file config_flow.py.

◆ validate_connect()

bool homeassistant.components.dsmr.config_flow.DSMRConnection.validate_connect (   self,
HomeAssistant  hass 
)
Test if we can validate connection with the device.

Definition at line 83 of file config_flow.py.

Member Data Documentation

◆ _dsmr_version

homeassistant.components.dsmr.config_flow.DSMRConnection._dsmr_version
private

Definition at line 56 of file config_flow.py.

◆ _equipment_identifier

homeassistant.components.dsmr.config_flow.DSMRConnection._equipment_identifier
private

Definition at line 59 of file config_flow.py.

◆ _host

homeassistant.components.dsmr.config_flow.DSMRConnection._host
private

Definition at line 54 of file config_flow.py.

◆ _port

homeassistant.components.dsmr.config_flow.DSMRConnection._port
private

Definition at line 55 of file config_flow.py.

◆ _protocol

homeassistant.components.dsmr.config_flow.DSMRConnection._protocol
private

Definition at line 57 of file config_flow.py.

◆ _telegram

homeassistant.components.dsmr.config_flow.DSMRConnection._telegram
private

Definition at line 88 of file config_flow.py.


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