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

Classes

class  CannotConnect
 
class  DeviceData
 
class  RfxtrxConfigFlow
 
class  RfxtrxOptionsFlow
 

Functions

bool _test_transport (str|None host, int|None port, str|None device)
 
str get_serial_by_id (str dev_path)
 
int|None none_or_int (str|None value, int base)
 

Variables

string CONF_EVENT_CODE = "event_code"
 
string CONF_MANUAL_PATH = "Enter Manually"
 
 RECV_MODES = sorted(itertools.chain(*rfxtrxmod.lowlevel.Status.RECMODES))
 

Detailed Description

Config flow for RFXCOM RFXtrx integration.

Function Documentation

◆ _test_transport()

bool homeassistant.components.rfxtrx.config_flow._test_transport ( str | None  host,
int | None  port,
str | None  device 
)
private
Construct a rfx object based on config.

Definition at line 644 of file config_flow.py.

◆ get_serial_by_id()

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

Definition at line 659 of file config_flow.py.

◆ none_or_int()

int | None homeassistant.components.rfxtrx.config_flow.none_or_int ( str | None  value,
int  base 
)
Check if string is one otherwise convert to int.

Definition at line 77 of file config_flow.py.

Variable Documentation

◆ CONF_EVENT_CODE

string homeassistant.components.rfxtrx.config_flow.CONF_EVENT_CODE = "event_code"

Definition at line 64 of file config_flow.py.

◆ CONF_MANUAL_PATH

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

Definition at line 65 of file config_flow.py.

◆ RECV_MODES

homeassistant.components.rfxtrx.config_flow.RECV_MODES = sorted(itertools.chain(*rfxtrxmod.lowlevel.Status.RECMODES))

Definition at line 67 of file config_flow.py.