Classes | |
| class | XiaomiBluetoothSensorEntity |
Functions | |
| None | async_setup_entry (HomeAssistant hass, XiaomiBLEConfigEntry entry, AddEntitiesCallback async_add_entities) |
| PassiveBluetoothDataUpdate[bool|None] | sensor_update_to_bluetooth_data_update (SensorUpdate sensor_update) |
Variables | |
| dictionary | BINARY_SENSOR_DESCRIPTIONS |
Support for Xiaomi binary sensors.
| None homeassistant.components.xiaomi_ble.binary_sensor.async_setup_entry | ( | HomeAssistant | hass, |
| XiaomiBLEConfigEntry | entry, | ||
| AddEntitiesCallback | async_add_entities | ||
| ) |
Set up the Xiaomi BLE sensors.
Definition at line 135 of file binary_sensor.py.
| PassiveBluetoothDataUpdate[bool | None] homeassistant.components.xiaomi_ble.binary_sensor.sensor_update_to_bluetooth_data_update | ( | SensorUpdate | sensor_update | ) |
Convert a sensor update to a bluetooth data update.
Definition at line 108 of file binary_sensor.py.
| dictionary homeassistant.components.xiaomi_ble.binary_sensor.BINARY_SENSOR_DESCRIPTIONS |
Definition at line 28 of file binary_sensor.py.