Bump bleak-retry-connector to 2.3.1 (#80549)

This commit is contained in:
J. Nick Koston 2022-10-18 11:48:52 -05:00 committed by GitHub
parent 78e66b6cbe
commit a708fc9984
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 6 additions and 13 deletions

View File

@ -72,6 +72,3 @@ ADAPTER_ADDRESS: Final = "address"
ADAPTER_SW_VERSION: Final = "sw_version"
ADAPTER_HW_VERSION: Final = "hw_version"
ADAPTER_PASSIVE_SCAN: Final = "passive_scan"
NO_RSSI_VALUE: Final = -127

View File

@ -11,6 +11,7 @@ import time
from typing import TYPE_CHECKING, Any, Final
from bleak.backends.scanner import AdvertisementDataCallback
from bleak_retry_connector import NO_RSSI_VALUE, RSSI_SWITCH_THRESHOLD
from homeassistant import config_entries
from homeassistant.core import (
@ -27,7 +28,6 @@ from .const import (
ADAPTER_ADDRESS,
ADAPTER_PASSIVE_SCAN,
FALLBACK_MAXIMUM_STALE_ADVERTISEMENT_SECONDS,
NO_RSSI_VALUE,
UNAVAILABLE_TRACK_SECONDS,
AdapterDetails,
)
@ -67,8 +67,6 @@ APPLE_START_BYTES_WANTED: Final = {
APPLE_DEVICE_ID_START_BYTE,
}
RSSI_SWITCH_THRESHOLD = 6
MONOTONIC_TIME: Final = time.monotonic
_LOGGER = logging.getLogger(__name__)

View File

@ -7,7 +7,7 @@
"quality_scale": "internal",
"requirements": [
"bleak==0.19.0",
"bleak-retry-connector==2.3.0",
"bleak-retry-connector==2.3.1",
"bluetooth-adapters==0.6.0",
"bluetooth-auto-recovery==0.3.4",
"dbus-fast==1.45.0"

View File

@ -18,14 +18,12 @@ from bleak.backends.scanner import (
AdvertisementDataCallback,
BaseBleakScanner,
)
from bleak_retry_connector import freshen_ble_device
from bleak_retry_connector import NO_RSSI_VALUE, freshen_ble_device
from homeassistant.core import CALLBACK_TYPE, HomeAssistant, callback as hass_callback
from homeassistant.helpers.frame import report
from homeassistant.helpers.service_info.bluetooth import BluetoothServiceInfo
from .const import NO_RSSI_VALUE
if TYPE_CHECKING:
from .manager import BluetoothManager

View File

@ -10,7 +10,7 @@ atomicwrites-homeassistant==1.4.1
attrs==21.2.0
awesomeversion==22.9.0
bcrypt==3.1.7
bleak-retry-connector==2.3.0
bleak-retry-connector==2.3.1
bleak==0.19.0
bluetooth-adapters==0.6.0
bluetooth-auto-recovery==0.3.4

View File

@ -413,7 +413,7 @@ bimmer_connected==0.10.4
bizkaibus==0.1.1
# homeassistant.components.bluetooth
bleak-retry-connector==2.3.0
bleak-retry-connector==2.3.1
# homeassistant.components.bluetooth
bleak==0.19.0

View File

@ -337,7 +337,7 @@ bellows==0.34.2
bimmer_connected==0.10.4
# homeassistant.components.bluetooth
bleak-retry-connector==2.3.0
bleak-retry-connector==2.3.1
# homeassistant.components.bluetooth
bleak==0.19.0