Namespaces | |
| binary_sensor | |
| config_flow | |
| const | |
| coordinator | |
| device | |
| device_trigger | |
| event | |
| sensor | |
| types | |
Functions | |
| bool | async_setup_entry (HomeAssistant hass, ConfigEntry entry) |
| bool | async_unload_entry (HomeAssistant hass, XiaomiBLEConfigEntry entry) |
| str | format_discovered_event_class (str address) |
| str | format_event_dispatcher_name (str address, str event_class) |
| SensorUpdate | process_service_info (HomeAssistant hass, XiaomiBLEConfigEntry entry, DeviceRegistry device_registry, BluetoothServiceInfoBleak service_info) |
Variables | |
| _LOGGER = logging.getLogger(__name__) | |
The Xiaomi Bluetooth integration.
| bool homeassistant.components.xiaomi_ble.async_setup_entry | ( | HomeAssistant | hass, |
| ConfigEntry | entry | ||
| ) |
Set up Xiaomi BLE device from a config entry.
Definition at line 122 of file __init__.py.
| bool homeassistant.components.xiaomi_ble.async_unload_entry | ( | HomeAssistant | hass, |
| XiaomiBLEConfigEntry | entry | ||
| ) |
Unload a config entry.
Definition at line 190 of file __init__.py.
| str homeassistant.components.xiaomi_ble.format_discovered_event_class | ( | str | address | ) |
Format a discovered event class.
Definition at line 117 of file __init__.py.
| str homeassistant.components.xiaomi_ble.format_event_dispatcher_name | ( | str | address, |
| str | event_class | ||
| ) |
Format an event dispatcher name.
Definition at line 112 of file __init__.py.
| SensorUpdate homeassistant.components.xiaomi_ble.process_service_info | ( | HomeAssistant | hass, |
| XiaomiBLEConfigEntry | entry, | ||
| DeviceRegistry | device_registry, | ||
| BluetoothServiceInfoBleak | service_info | ||
| ) |
Process a BluetoothServiceInfoBleak, running side effects and returning sensor data.
Definition at line 39 of file __init__.py.
|
private |
Definition at line 36 of file __init__.py.