d766aae436
Co-authored-by: copilot-swe-agent[bot] <[email protected]> Co-authored-by: frenck <[email protected]>
11 lines
378 B
Python
11 lines
378 B
Python
"""Models for bluetooth."""
|
|
|
|
from collections.abc import Callable
|
|
from enum import Enum
|
|
|
|
from home_assistant_bluetooth import BluetoothServiceInfoBleak
|
|
|
|
BluetoothChange = Enum("BluetoothChange", "ADVERTISEMENT")
|
|
type BluetoothCallback = Callable[[BluetoothServiceInfoBleak, BluetoothChange], None]
|
|
type ProcessAdvertisementCallback = Callable[[BluetoothServiceInfoBleak], bool]
|