Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.bluetooth.passive_update_processor.PassiveBluetoothDataUpdate Class Reference
Inheritance diagram for homeassistant.components.bluetooth.passive_update_processor.PassiveBluetoothDataUpdate:
[legend]
Collaboration diagram for homeassistant.components.bluetooth.passive_update_processor.PassiveBluetoothDataUpdate:
[legend]

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
 

Detailed Description

Generic bluetooth data.

Definition at line 125 of file passive_update_processor.py.

Member Function Documentation

◆ async_get_restore_data()

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.

◆ async_set_restore_data()

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.

◆ update()

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.

Member Data Documentation

◆ default_factory

homeassistant.components.bluetooth.passive_update_processor.PassiveBluetoothDataUpdate.default_factory
static

Definition at line 128 of file passive_update_processor.py.


The documentation for this class was generated from the following file: