diff --git a/src/habluetooth/models.py b/src/habluetooth/models.py index 736ff66..ed5e84b 100644 --- a/src/habluetooth/models.py +++ b/src/habluetooth/models.py @@ -14,7 +14,6 @@ if TYPE_CHECKING: from .base_scanner import BaseHaScanner - from .manager import BluetoothManager _BluetoothServiceInfoSelfT = TypeVar( "_BluetoothServiceInfoSelfT", bound="BluetoothServiceInfo" @@ -30,24 +29,6 @@ _int = int # avoid cython conversion since we always want a pyint -class CentralBluetoothManager: - """Central Bluetooth Manager.""" - - manager: BluetoothManager | None = None - - -def get_manager() -> BluetoothManager: - """Get the BluetoothManager.""" - if TYPE_CHECKING: - assert CentralBluetoothManager.manager is not None - return CentralBluetoothManager.manager - - -def set_manager(manager: BluetoothManager) -> None: - """Set the BluetoothManager.""" - CentralBluetoothManager.manager = manager - - @dataclass(slots=True, frozen=True) class HaBluetoothSlotAllocations: """Data for how to allocate slots for BLEDevice connections."""