Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.bluetooth.passive_update_processor.PassiveBluetoothEntityKey Class Reference

Public Member Functions

PassiveBluetoothEntityKey from_string (cls, str key)
 
str to_string (self)
 

Detailed Description

Key for a passive bluetooth entity.

Example:
key: temperature
device_id: outdoor_sensor_1

Definition at line 48 of file passive_update_processor.py.

Member Function Documentation

◆ from_string()

PassiveBluetoothEntityKey homeassistant.components.bluetooth.passive_update_processor.PassiveBluetoothEntityKey.from_string (   cls,
str  key 
)
Convert a string (from JSON) to a key.

Definition at line 65 of file passive_update_processor.py.

◆ to_string()

str homeassistant.components.bluetooth.passive_update_processor.PassiveBluetoothEntityKey.to_string (   self)
Convert the key to a string which can be used as JSON key.

Definition at line 60 of file passive_update_processor.py.


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