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

Classes

class  BTHomeBluetoothSensorEntity
 

Functions

None async_setup_entry (HomeAssistant hass, BTHomeConfigEntry entry, AddEntitiesCallback async_add_entities)
 
PassiveBluetoothDataUpdate[float|None] sensor_update_to_bluetooth_data_update (SensorUpdate sensor_update)
 

Variables

dictionary SENSOR_DESCRIPTIONS
 

Detailed Description

Support for BTHome sensors.

Function Documentation

◆ async_setup_entry()

None homeassistant.components.bthome.sensor.async_setup_entry ( HomeAssistant  hass,
BTHomeConfigEntry  entry,
AddEntitiesCallback  async_add_entities 
)
Set up the BTHome BLE sensors.

Definition at line 402 of file sensor.py.

◆ sensor_update_to_bluetooth_data_update()

PassiveBluetoothDataUpdate[float | None] homeassistant.components.bthome.sensor.sensor_update_to_bluetooth_data_update ( SensorUpdate  sensor_update)
Convert a sensor update to a bluetooth data update.

Definition at line 373 of file sensor.py.

Variable Documentation

◆ SENSOR_DESCRIPTIONS

dictionary homeassistant.components.bthome.sensor.SENSOR_DESCRIPTIONS

Definition at line 52 of file sensor.py.