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

Classes

class  LD2410BLEBinarySensor
 

Functions

None async_setup_entry (HomeAssistant hass, ConfigEntry entry, AddEntitiesCallback async_add_entities)
 

Variables

tuple ENTITY_DESCRIPTIONS
 

Detailed Description

LD2410 BLE integration binary sensor platform.

Function Documentation

◆ async_setup_entry()

None homeassistant.components.ld2410_ble.binary_sensor.async_setup_entry ( HomeAssistant  hass,
ConfigEntry  entry,
AddEntitiesCallback  async_add_entities 
)
Set up the platform for LD2410BLE.

Definition at line 31 of file binary_sensor.py.

Variable Documentation

◆ ENTITY_DESCRIPTIONS

tuple homeassistant.components.ld2410_ble.binary_sensor.ENTITY_DESCRIPTIONS
Initial value:
1 = (
2  BinarySensorEntityDescription(
3  key="is_moving",
4  device_class=BinarySensorDeviceClass.MOTION,
5  ),
6  BinarySensorEntityDescription(
7  key="is_static",
8  device_class=BinarySensorDeviceClass.OCCUPANCY,
9  ),
10 )

Definition at line 19 of file binary_sensor.py.