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

Classes

class  BTHomeBluetoothBinarySensorEntity
 

Functions

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

Variables

dictionary BINARY_SENSOR_DESCRIPTIONS
 

Detailed Description

Support for BTHome binary sensors.

Function Documentation

◆ async_setup_entry()

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

Definition at line 169 of file binary_sensor.py.

◆ sensor_update_to_bluetooth_data_update()

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

Definition at line 142 of file binary_sensor.py.

Variable Documentation

◆ BINARY_SENSOR_DESCRIPTIONS

dictionary homeassistant.components.bthome.binary_sensor.BINARY_SENSOR_DESCRIPTIONS

Definition at line 27 of file binary_sensor.py.