Public Member Functions | |
| PassiveBluetoothEntityKey | from_string (cls, str key) |
| str | to_string (self) |
Key for a passive bluetooth entity. Example: key: temperature device_id: outdoor_sensor_1
Definition at line 48 of file passive_update_processor.py.
| 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.
| 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.