p4a: fix scanner discovered_devices property
This was converted from a method to a property in
@@ -199,7 +199,8 @@ class BleakScannerP4Android(BaseBleakScanner):
async def set_scanning_filter(self, **kwargs):
self._filters = kwargs.get("filters", {})
- async def get_discovered_devices(self) -> List[BLEDevice]:
+ @property
+ def discovered_devices(self) -> List[BLEDevice]:
return [*self._devices.values()]
