from bleak import BleakScanner
import asyncio

async def scan():
    devices = await BleakScanner.discover()
    for d in devices:
        name = d.name or "None"
        print(f"{d.address} - {name}")

asyncio.run(scan())
