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

Classes

class  Aranet4BluetoothSensorEntity
 
class  AranetSensorEntityDescription
 

Functions

PassiveBluetoothEntityKey _device_key_to_bluetooth_entity_key (BLEDevice device, str key)
 
DeviceInfo _sensor_device_info_to_hass (Aranet4Advertisement adv)
 
None async_setup_entry (HomeAssistant hass, AranetConfigEntry entry, AddEntitiesCallback async_add_entities)
 
PassiveBluetoothDataUpdate[Any] sensor_update_to_bluetooth_data_update (Aranet4Advertisement adv)
 

Variables

dictionary SENSOR_DESCRIPTIONS
 

Detailed Description

Support for Aranet sensors.

Function Documentation

◆ _device_key_to_bluetooth_entity_key()

PassiveBluetoothEntityKey homeassistant.components.aranet.sensor._device_key_to_bluetooth_entity_key ( BLEDevice  device,
str  key 
)
private
Convert a device key to an entity key.

Definition at line 129 of file sensor.py.

◆ _sensor_device_info_to_hass()

DeviceInfo homeassistant.components.aranet.sensor._sensor_device_info_to_hass ( Aranet4Advertisement  adv)
private
Convert a sensor device info to hass device info.

Definition at line 137 of file sensor.py.

◆ async_setup_entry()

None homeassistant.components.aranet.sensor.async_setup_entry ( HomeAssistant  hass,
AranetConfigEntry  entry,
AddEntitiesCallback  async_add_entities 
)
Set up the Aranet sensors.

Definition at line 174 of file sensor.py.

◆ sensor_update_to_bluetooth_data_update()

PassiveBluetoothDataUpdate[Any] homeassistant.components.aranet.sensor.sensor_update_to_bluetooth_data_update ( Aranet4Advertisement  adv)
Convert a sensor update to a Bluetooth data update.

Definition at line 150 of file sensor.py.

Variable Documentation

◆ SENSOR_DESCRIPTIONS

dictionary homeassistant.components.aranet.sensor.SENSOR_DESCRIPTIONS

Definition at line 54 of file sensor.py.