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
parent
62bd692a58
commit
e4ecaa433a
|
@ -36,7 +36,7 @@ async def async_load_history_from_system() -> dict[str, BluetoothServiceInfoBlea
|
|||
or history.device.name
|
||||
or history.device.address,
|
||||
address=history.device.address,
|
||||
rssi=history.device.rssi,
|
||||
rssi=history.advertisement_data.rssi,
|
||||
manufacturer_data=history.advertisement_data.manufacturer_data,
|
||||
service_data=history.advertisement_data.service_data,
|
||||
service_uuids=history.advertisement_data.service_uuids,
|
||||
|
|
Loading…
Reference in New Issue