From f3d515d430b1503dc35e98818bc5981d2b66dc61 Mon Sep 17 00:00:00 2001 From: matt Date: Tue, 13 Oct 2026 04:43:14 -0700 Subject: [PATCH] print line cleanup 4a --- ble.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ble.py b/ble.py index bf4d760..8c8e50d 100644 --- a/ble.py +++ b/ble.py @@ -26,7 +26,7 @@ async def read_data(mac_address): device = next((d for d in devices if d.address.lower() == mac_address.lower()), None) if device: # print(f"BleakScanner device variable loaded - {device.name}") - print(f".. Found device: {device.name} ({device.address})") + print(f".. Found device: {device.name} ({device.address}) - connecting...") fail_count = 0 # else: # print("BleakScanner device not loaded yet") @@ -43,14 +43,14 @@ async def read_data(mac_address): success = False # Check if Mi service is available - print(".. Waiting on client to connect...") + #print(".. Waiting on client to connect...") while not client.is_connected: await asyncio.sleep(0.1) while not success: try: - print(".. Client connected, getting services") + #print(".. Client connected, getting services") services = client.services - print(".. Services acquired, loading uuid matches") + #print(".. Services acquired, loading uuid matches") mi_service = next((s for s in services if s.uuid.lower() == MI_SERVICE_UUID.lower()), None) success = True #print("uuid matches loaded")