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

Classes

class  XiaomiBinarySensor
 
class  XiaomiButton
 
class  XiaomiCube
 
class  XiaomiDoorSensor
 
class  XiaomiMotionSensor
 
class  XiaomiNatgasSensor
 
class  XiaomiSmokeSensor
 
class  XiaomiVibration
 
class  XiaomiWaterLeakSensor
 

Functions

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

Variables

 _LOGGER = logging.getLogger(__name__)
 
string ATTR_DENSITY = "Density"
 
string ATTR_LAST_ACTION = "last_action"
 
string ATTR_NO_MOTION_SINCE = "No motion since"
 
string ATTR_OPEN_SINCE = "Open since"
 
string DENSITY = "density"
 
string MOTION = "motion"
 
string NO_CLOSE = "no_close"
 
string NO_MOTION = "no_motion"
 

Detailed Description

Support for Xiaomi aqara binary sensors.

Function Documentation

◆ async_setup_entry()

None homeassistant.components.xiaomi_aqara.binary_sensor.async_setup_entry ( HomeAssistant  hass,
ConfigEntry  config_entry,
AddEntitiesCallback  async_add_entities 
)
Perform the setup for Xiaomi devices.

Definition at line 32 of file binary_sensor.py.

Variable Documentation

◆ _LOGGER

homeassistant.components.xiaomi_aqara.binary_sensor._LOGGER = logging.getLogger(__name__)
private

Definition at line 18 of file binary_sensor.py.

◆ ATTR_DENSITY

string homeassistant.components.xiaomi_aqara.binary_sensor.ATTR_DENSITY = "Density"

Definition at line 29 of file binary_sensor.py.

◆ ATTR_LAST_ACTION

string homeassistant.components.xiaomi_aqara.binary_sensor.ATTR_LAST_ACTION = "last_action"

Definition at line 25 of file binary_sensor.py.

◆ ATTR_NO_MOTION_SINCE

string homeassistant.components.xiaomi_aqara.binary_sensor.ATTR_NO_MOTION_SINCE = "No motion since"

Definition at line 26 of file binary_sensor.py.

◆ ATTR_OPEN_SINCE

string homeassistant.components.xiaomi_aqara.binary_sensor.ATTR_OPEN_SINCE = "Open since"

Definition at line 21 of file binary_sensor.py.

◆ DENSITY

string homeassistant.components.xiaomi_aqara.binary_sensor.DENSITY = "density"

Definition at line 28 of file binary_sensor.py.

◆ MOTION

string homeassistant.components.xiaomi_aqara.binary_sensor.MOTION = "motion"

Definition at line 23 of file binary_sensor.py.

◆ NO_CLOSE

string homeassistant.components.xiaomi_aqara.binary_sensor.NO_CLOSE = "no_close"

Definition at line 20 of file binary_sensor.py.

◆ NO_MOTION

string homeassistant.components.xiaomi_aqara.binary_sensor.NO_MOTION = "no_motion"

Definition at line 24 of file binary_sensor.py.