Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.dsmr.config_flow Namespace Reference

Classes

class  CannotCommunicate
 
class  CannotConnect
 
class  DSMRConnection
 
class  DSMRFlowHandler
 
class  DSMROptionFlowHandler
 

Functions

dict[str, str|None] _validate_dsmr_connection (HomeAssistant hass, dict[str, Any] data, str protocol)
 
str get_serial_by_id (str dev_path)
 

Variables

string CONF_MANUAL_PATH = "Enter Manually"
 

Detailed Description

Config flow for DSMR integration.

Function Documentation

◆ _validate_dsmr_connection()

dict[str, str | None] homeassistant.components.dsmr.config_flow._validate_dsmr_connection ( HomeAssistant  hass,
dict[str, Any]  data,
str   protocol 
)
private
Validate the user input allows us to connect.

Definition at line 138 of file config_flow.py.

◆ get_serial_by_id()

str homeassistant.components.dsmr.config_flow.get_serial_by_id ( str  dev_path)
Return a /dev/serial/by-id match for given device if available.

Definition at line 338 of file config_flow.py.

Variable Documentation

◆ CONF_MANUAL_PATH

string homeassistant.components.dsmr.config_flow.CONF_MANUAL_PATH = "Enter Manually"

Definition at line 44 of file config_flow.py.