Update bluetooth util for upcoming bleak (#82020)

Fixes
```
Nov 08 21:41:14 homeassistant homeassistant[474]: /usr/src/homeassistant/homeassistant/components/bluetooth/util.py:39: FutureWarning: BLEDevice.rssi is deprecated and will be removed in a future version of Bleak, use AdvertisementData.rssi instead
Nov 08 21:41:14 homeassistant homeassistant[474]:   rssi=history.device.rssi,

```
pull/82026/head
J. Nick Koston 2022-11-13 04:28:49 -06:00 committed by GitHub
parent 62bd692a58
commit e4ecaa433a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -36,7 +36,7 @@ async def async_load_history_from_system() -> dict[str, BluetoothServiceInfoBlea
or history.device.name or history.device.name
or history.device.address, or history.device.address,
address=history.device.address, address=history.device.address,
rssi=history.device.rssi, rssi=history.advertisement_data.rssi,
manufacturer_data=history.advertisement_data.manufacturer_data, manufacturer_data=history.advertisement_data.manufacturer_data,
service_data=history.advertisement_data.service_data, service_data=history.advertisement_data.service_data,
service_uuids=history.advertisement_data.service_uuids, service_uuids=history.advertisement_data.service_uuids,