print line cleanup 2

This commit is contained in:
matt committed 2026-10-13 04:22:34 -07:00
1 parent 91640964cd
commit f00ba3fefc
3 files changed
+11 -11

No files matched your search

+2 -3
View File
@@ -48,9 +48,9 @@ async def read_data(mac_address):
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")
@@ -69,7 +69,6 @@ async def read_data(mac_address):
hum = sensor_data[2]
print(f"-- Temperature: {temp:.1f}°C, Humidity: {hum}%")
print("")
return temp, hum
def sensor_data_query(mac_list):