From: Edward Betts <edward@4angle.com>
Date: Tue, 22 Jul 2025 22:15:22 +0100
Subject: New bleak API

---
 tests/__init__.py                   | 2 +-
 tests/test_connection_management.py | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/__init__.py b/tests/__init__.py
index f825d9e..cfa6024 100644
--- a/tests/__init__.py
+++ b/tests/__init__.py
@@ -3,7 +3,7 @@
 from bleak.backends.device import BLEDevice
 from idasen import IdasenDesk
 
-FAKE_BLE_DEVICE = BLEDevice("AA:BB:CC:DD:EE:FF", None, {"path": ""}, 0)
+FAKE_BLE_DEVICE = BLEDevice("AA:BB:CC:DD:EE:FF", None, {"path": ""})
 
 
 def height_percent_to_meters(percent: float):
diff --git a/tests/test_connection_management.py b/tests/test_connection_management.py
index 8b29f91..87467ee 100644
--- a/tests/test_connection_management.py
+++ b/tests/test_connection_management.py
@@ -64,7 +64,7 @@ async def test_double_connect_call_with_different_bledevice():
         async def connect_side_effect():
             # call the seccond `connect` while the first is ongoing
             mock_idasen_desk.connect.side_effect = MagicMock()
-            new_ble_device = BLEDevice("AA:BB:CC:DD:EE:AA", None, None, 0)
+            new_ble_device = BLEDevice("AA:BB:CC:DD:EE:AA", None, None)
             await desk.connect(new_ble_device)
 
         mock_idasen_desk.is_connected = False
