mirror of
https://github.com/home-assistant/core.git
synced 2026-07-18 20:13:24 +01:00
876ffe3b6c
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
15 lines
402 B
Python
15 lines
402 B
Python
"""Support for Chef iQ devices."""
|
|
|
|
from chefiq_ble import DeviceKey
|
|
|
|
from homeassistant.components.bluetooth.passive_update_processor import (
|
|
PassiveBluetoothEntityKey,
|
|
)
|
|
|
|
|
|
def device_key_to_bluetooth_entity_key(
|
|
device_key: DeviceKey,
|
|
) -> PassiveBluetoothEntityKey:
|
|
"""Convert a device key to an entity key."""
|
|
return PassiveBluetoothEntityKey(device_key.key, device_key.device_id)
|