Namespaces | |
| binary_sensor | |
| config_flow | |
| const | |
| coordinator | |
| device | |
| device_trigger | |
| event | |
| logbook | |
| sensor | |
| types | |
Functions | |
| bool | async_setup_entry (HomeAssistant hass, BTHomeConfigEntry entry) |
| bool | async_unload_entry (HomeAssistant hass, BTHomeConfigEntry entry) |
| SignalType[str, BTHomeBleEvent] | format_discovered_event_class (str address) |
| SignalType[BTHomeBleEvent] | format_event_dispatcher_name (str address, str event_class) |
| SensorUpdate | process_service_info (HomeAssistant hass, BTHomeConfigEntry entry, DeviceRegistry device_registry, BluetoothServiceInfoBleak service_info) |
Variables | |
| _LOGGER = logging.getLogger(__name__) | |
The BTHome Bluetooth integration.
| bool homeassistant.components.bthome.async_setup_entry | ( | HomeAssistant | hass, |
| BTHomeConfigEntry | entry | ||
| ) |
Set up BTHome Bluetooth from a config entry.
Definition at line 119 of file __init__.py.
| bool homeassistant.components.bthome.async_unload_entry | ( | HomeAssistant | hass, |
| BTHomeConfigEntry | entry | ||
| ) |
Unload a config entry.
Definition at line 150 of file __init__.py.
| SignalType[str, BTHomeBleEvent] homeassistant.components.bthome.format_discovered_event_class | ( | str | address | ) |
Format a discovered event class.
Definition at line 114 of file __init__.py.
| SignalType[BTHomeBleEvent] homeassistant.components.bthome.format_event_dispatcher_name | ( | str | address, |
| str | event_class | ||
| ) |
Format an event dispatcher name.
Definition at line 107 of file __init__.py.
| SensorUpdate homeassistant.components.bthome.process_service_info | ( | HomeAssistant | hass, |
| BTHomeConfigEntry | 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.