hbldh / bleak

A cross platform Bluetooth Low Energy Client for Python using asyncio
MIT License
1.72k stars 288 forks source link

'NSKVONotifying_CBCentralManager' object has no attribute 'retrieveAddressForPeripheral_' #1630

Open CoderXL1 opened 3 weeks ago

CoderXL1 commented 3 weeks ago

Description

When running home assistant, an error occurs: AttributeError: 'NSKVONotifyingCBCentralManager' object has no attribute 'retrieveAddressForPeripheral'. Did you mean: 'retrieveConnectedPeripherals'?

CoderXL1 commented 3 weeks ago

python3.12/site-packages/bleak/backends/corebluetooth/scanner.py, line 134, in callback self._manager.centralmanager.retrieveAddressForPeripheral(p)

dlech commented 3 weeks ago

Duplicate of https://github.com/hbldh/bleak/issues/1286. But I guess we can leave this one open since that one is closed. Same comments still apply though.