Public Member Functions | |
| RestoredPassiveBluetoothDataUpdate | async_get_restore_data (self) |
| None | async_set_restore_data (self, RestoredPassiveBluetoothDataUpdate restore_data, type[EntityDescription] entity_description_class) |
| set[PassiveBluetoothEntityKey]|None | update (self, PassiveBluetoothDataUpdate[_T] new_data) |
Static Public Attributes | |
| default_factory | |
Generic bluetooth data.
Definition at line 125 of file passive_update_processor.py.
| RestoredPassiveBluetoothDataUpdate homeassistant.components.bluetooth.passive_update_processor.PassiveBluetoothDataUpdate.async_get_restore_data | ( | self | ) |
Serialize restore data to storage.
Definition at line 166 of file passive_update_processor.py.
| None homeassistant.components.bluetooth.passive_update_processor.PassiveBluetoothDataUpdate.async_set_restore_data | ( | self, | |
| RestoredPassiveBluetoothDataUpdate | restore_data, | ||
| type[EntityDescription] | entity_description_class | ||
| ) |
Set the restored data from storage.
Definition at line 185 of file passive_update_processor.py.
| set[PassiveBluetoothEntityKey] | None homeassistant.components.bluetooth.passive_update_processor.PassiveBluetoothDataUpdate.update | ( | self, | |
| PassiveBluetoothDataUpdate[_T] | new_data | ||
| ) |
Update the data and returned changed PassiveBluetoothEntityKey or None on device change. The changed PassiveBluetoothEntityKey can be used to filter which listeners are called.
Definition at line 139 of file passive_update_processor.py.
|
static |
Definition at line 128 of file passive_update_processor.py.