Storage for remote scanners.
Definition at line 22 of file storage.py.
◆ __init__()
| None homeassistant.components.bluetooth.storage.BluetoothStorage.__init__ |
( |
|
self, |
|
|
HomeAssistant |
hass |
|
) |
| |
Initialize the storage.
Definition at line 25 of file storage.py.
◆ _async_get_data()
| DiscoveryStorageType homeassistant.components.bluetooth.storage.BluetoothStorage._async_get_data |
( |
|
self | ) |
|
|
private |
Get data to save to disk.
Definition at line 58 of file storage.py.
◆ async_get_advertisement_history()
| DiscoveredDeviceAdvertisementData | None homeassistant.components.bluetooth.storage.BluetoothStorage.async_get_advertisement_history |
( |
|
self, |
|
|
str
|
scanner |
|
) |
| |
Get discovered devices by scanner.
Definition at line 42 of file storage.py.
◆ async_get_advertisement_history_as_dict()
| DiscoveredDeviceAdvertisementDataDict | None homeassistant.components.bluetooth.storage.BluetoothStorage.async_get_advertisement_history_as_dict |
( |
|
self, |
|
|
str
|
scanner |
|
) |
| |
Get discovered devices by scanner as a dict.
Definition at line 51 of file storage.py.
◆ async_set_advertisement_history()
| None homeassistant.components.bluetooth.storage.BluetoothStorage.async_set_advertisement_history |
( |
|
self, |
|
|
str |
scanner, |
|
|
DiscoveredDeviceAdvertisementData
|
data |
|
) |
| |
Set discovered devices by scanner.
Definition at line 63 of file storage.py.
◆ async_setup()
| None homeassistant.components.bluetooth.storage.BluetoothStorage.async_setup |
( |
|
self | ) |
|
Set up the storage.
Definition at line 32 of file storage.py.
◆ scanners()
| list[str] homeassistant.components.bluetooth.storage.BluetoothStorage.scanners |
( |
|
self | ) |
|
◆ _data
| homeassistant.components.bluetooth.storage.BluetoothStorage._data |
|
private |
The documentation for this class was generated from the following file:
- core/homeassistant/components/bluetooth/storage.py