diff --git a/src/bluetooth_adapters/__init__.py b/src/bluetooth_adapters/__init__.py index a31fad8..4a350d2 100644 --- a/src/bluetooth_adapters/__init__.py +++ b/src/bluetooth_adapters/__init__.py @@ -4,6 +4,7 @@ from .adapters import BluetoothAdapters from .const import ( DEFAULT_ADDRESS, + DEFAULT_CONNECTION_SLOTS, MACOS_DEFAULT_BLUETOOTH_ADAPTER, UNIX_DEFAULT_BLUETOOTH_ADAPTER, WINDOWS_DEFAULT_BLUETOOTH_ADAPTER, @@ -57,7 +58,7 @@ "load_history_from_managed_objects", "AdapterDetails", "ADAPTER_ADDRESS", - "ADAPTER_CONNECTIONS_SLOTS", + "ADAPTER_CONNECTION_SLOTS", "ADAPTER_SW_VERSION", "ADAPTER_HW_VERSION", "ADAPTER_PASSIVE_SCAN", diff --git a/src/bluetooth_adapters/models.py b/src/bluetooth_adapters/models.py index 0990215..55864bf 100644 --- a/src/bluetooth_adapters/models.py +++ b/src/bluetooth_adapters/models.py @@ -16,7 +16,7 @@ class AdapterDetails(TypedDict, total=False): vendor_id: str | None product_id: str | None passive_scan: bool - connections_slots: int | None + connection_slots: int | None ADAPTER_ADDRESS: Final = "address" @@ -27,4 +27,4 @@ class AdapterDetails(TypedDict, total=False): ADAPTER_PRODUCT: Final = "product" ADAPTER_VENDOR_ID: Final = "vendor_id" ADAPTER_PRODUCT_ID: Final = "product_id" -ADAPTER_CONNECTIONS_SLOTS: Final = "connections_slots" +ADAPTER_CONNECTION_SLOTS: Final = "connection_slots"