Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.bluetooth.util Namespace Reference

Functions

str adapter_title (str adapter, AdapterDetails details)
 
tuple[dict[str, BluetoothServiceInfoBleak], dict[str, BluetoothServiceInfoBleak]] async_load_history_from_system (BluetoothAdapters adapters, BluetoothStorage storage)
 

Detailed Description

The bluetooth integration utilities.

Function Documentation

◆ adapter_title()

str homeassistant.components.bluetooth.util.adapter_title ( str  adapter,
AdapterDetails  details 
)
Return the adapter title.

Definition at line 82 of file util.py.

◆ async_load_history_from_system()

tuple[dict[str, BluetoothServiceInfoBleak], dict[str, BluetoothServiceInfoBleak]] homeassistant.components.bluetooth.util.async_load_history_from_system ( BluetoothAdapters  adapters,
BluetoothStorage   storage 
)
Load the device and advertisement_data history.

Only loads if available on the current system.

Definition at line 22 of file util.py.