Bump aioesphomeapi to 21.0.0 (#105609)
This commit is contained in:
parent
a595cd7141
commit
22f0e09b8c
4 changed files with 6 additions and 6 deletions
|
@ -1,7 +1,7 @@
|
|||
"""Bluetooth scanner for esphome."""
|
||||
from __future__ import annotations
|
||||
|
||||
from aioesphomeapi import BluetoothLEAdvertisement, BluetoothLERawAdvertisement
|
||||
from aioesphomeapi import BluetoothLEAdvertisement, BluetoothLERawAdvertisementsResponse
|
||||
from bluetooth_data_tools import (
|
||||
int_to_bluetooth_address,
|
||||
parse_advertisement_data_tuple,
|
||||
|
@ -34,11 +34,11 @@ class ESPHomeScanner(BaseHaRemoteScanner):
|
|||
|
||||
@callback
|
||||
def async_on_raw_advertisements(
|
||||
self, advertisements: list[BluetoothLERawAdvertisement]
|
||||
self, raw: BluetoothLERawAdvertisementsResponse
|
||||
) -> None:
|
||||
"""Call the registered callback."""
|
||||
now = MONOTONIC_TIME()
|
||||
for adv in advertisements:
|
||||
for adv in raw.advertisements:
|
||||
self._async_on_advertisement(
|
||||
int_to_bluetooth_address(adv.address),
|
||||
adv.rssi,
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
"iot_class": "local_push",
|
||||
"loggers": ["aioesphomeapi", "noiseprotocol"],
|
||||
"requirements": [
|
||||
"aioesphomeapi==20.1.0",
|
||||
"aioesphomeapi==21.0.0",
|
||||
"bluetooth-data-tools==1.17.0",
|
||||
"esphome-dashboard-api==1.2.3"
|
||||
],
|
||||
|
|
|
@ -239,7 +239,7 @@ aioelectricitymaps==0.1.5
|
|||
aioemonitor==1.0.5
|
||||
|
||||
# homeassistant.components.esphome
|
||||
aioesphomeapi==20.1.0
|
||||
aioesphomeapi==21.0.0
|
||||
|
||||
# homeassistant.components.flo
|
||||
aioflo==2021.11.0
|
||||
|
|
|
@ -218,7 +218,7 @@ aioelectricitymaps==0.1.5
|
|||
aioemonitor==1.0.5
|
||||
|
||||
# homeassistant.components.esphome
|
||||
aioesphomeapi==20.1.0
|
||||
aioesphomeapi==21.0.0
|
||||
|
||||
# homeassistant.components.flo
|
||||
aioflo==2021.11.0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue