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

Classes

class  RfxtrxSensor
 
class  RfxtrxSensorEntityDescription
 

Functions

int|None _battery_convert (int|None value)
 
str|None _rssi_convert (int|None value)
 
None async_setup_entry (HomeAssistant hass, ConfigEntry config_entry, AddEntitiesCallback async_add_entities)
 

Variables

 _LOGGER = logging.getLogger(__name__)
 
tuple SENSOR_TYPES
 
dictionary SENSOR_TYPES_DICT = {desc.key: desc for desc in SENSOR_TYPES}
 

Detailed Description

Support for RFXtrx sensors.

Function Documentation

◆ _battery_convert()

int | None homeassistant.components.rfxtrx.sensor._battery_convert ( int | None  value)
private
Battery is given as a value between 0 and 9.

Definition at line 49 of file sensor.py.

◆ _rssi_convert()

str | None homeassistant.components.rfxtrx.sensor._rssi_convert ( int | None  value)
private
Rssi is given as dBm value.

Definition at line 56 of file sensor.py.

◆ async_setup_entry()

None homeassistant.components.rfxtrx.sensor.async_setup_entry ( HomeAssistant  hass,
ConfigEntry  config_entry,
AddEntitiesCallback  async_add_entities 
)
Set up config entry.

Definition at line 243 of file sensor.py.

Variable Documentation

◆ _LOGGER

homeassistant.components.rfxtrx.sensor._LOGGER = logging.getLogger(__name__)
private

Definition at line 46 of file sensor.py.

◆ SENSOR_TYPES

tuple homeassistant.components.rfxtrx.sensor.SENSOR_TYPES

Definition at line 72 of file sensor.py.

◆ SENSOR_TYPES_DICT

dictionary homeassistant.components.rfxtrx.sensor.SENSOR_TYPES_DICT = {desc.key: desc for desc in SENSOR_TYPES}

Definition at line 240 of file sensor.py.