mirror of
https://github.com/home-assistant/core.git
synced 2026-05-25 17:56:30 +01:00
d766aae436
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: frenck <195327+frenck@users.noreply.github.com>
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]
|