Home Assistant Unofficial Reference 2024.12.1
__init__.py File Reference

Go to the source code of this file.

Classes

class  homeassistant.components.rfxtrx.DeviceTuple
 

Namespaces

 homeassistant.components.rfxtrx
 

Functions

bytearray homeassistant.components.rfxtrx._bytearray_string (Any data)
 
rfxtrxmod.Connect homeassistant.components.rfxtrx._create_rfx (Mapping[str, Any] config, Callable[[rfxtrxmod.RFXtrxEvent], None] event_callback)
 
dict[DeviceTuple, dict[str, Any]] homeassistant.components.rfxtrx._get_device_lookup (dict[str, dict[str, Any]] devices)
 
bool homeassistant.components.rfxtrx.async_remove_config_entry_device (HomeAssistant hass, ConfigEntry config_entry, dr.DeviceEntry device_entry)
 
bool homeassistant.components.rfxtrx.async_setup_entry (HomeAssistant hass, ConfigEntry entry)
 
None homeassistant.components.rfxtrx.async_setup_internal (HomeAssistant hass, ConfigEntry entry)
 
None homeassistant.components.rfxtrx.async_setup_platform_entry (HomeAssistant hass, ConfigEntry config_entry, AddEntitiesCallback async_add_entities, Callable[[rfxtrxmod.RFXtrxEvent], bool] supported, Callable[[rfxtrxmod.RFXtrxEvent, rfxtrxmod.RFXtrxEvent|None, DeviceTuple, dict[str, Any],], list[Entity],] constructor)
 
bool homeassistant.components.rfxtrx.async_unload_entry (HomeAssistant hass, ConfigEntry entry)
 
str|None homeassistant.components.rfxtrx.find_possible_pt2262_device (set[str] device_ids, str device_id)
 
int|None homeassistant.components.rfxtrx.get_device_data_bits (rfxtrxmod.RFXtrxDevice device, dict[DeviceTuple, dict[str, Any]] devices)
 
DeviceTuple homeassistant.components.rfxtrx.get_device_id (rfxtrxmod.RFXtrxDevice device, int|None data_bits=None)
 
DeviceTuple|None homeassistant.components.rfxtrx.get_device_tuple_from_identifiers (set[tuple[str, str]] identifiers)
 
str|None homeassistant.components.rfxtrx.get_pt2262_cmd (str device_id, int data_bits)
 
bytes|None homeassistant.components.rfxtrx.get_pt2262_deviceid (str device_id, int|None nb_data_bits)
 
rfxtrxmod.RFXtrxEvent|None homeassistant.components.rfxtrx.get_rfx_object (str packetid)
 

Variables

 homeassistant.components.rfxtrx._LOGGER = logging.getLogger(__name__)
 
float homeassistant.components.rfxtrx.CONNECT_TIMEOUT = 30.0
 
float homeassistant.components.rfxtrx.DEFAULT_OFF_DELAY = 2.0
 
list homeassistant.components.rfxtrx.PLATFORMS
 
 homeassistant.components.rfxtrx.SERVICE_SEND_SCHEMA = vol.Schema({ATTR_EVENT: _bytearray_string})