1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-24 21:06:19 +00:00

Bump bluetooth deps for bleak 0.20 (#89925)

Co-authored-by: K <z@kwi.li>
This commit is contained in:
J. Nick Koston
2023-03-20 01:06:15 -10:00
committed by GitHub
parent f3b3818d1f
commit c3043fb0ee
35 changed files with 347 additions and 258 deletions

View File

@@ -2,7 +2,6 @@
from unittest.mock import patch
import bleak
from bleak.backends.device import BLEDevice
import bleak_retry_connector
import pytest
@@ -16,10 +15,14 @@ from homeassistant.components.bluetooth.wrappers import (
)
from homeassistant.core import HomeAssistant
from . import _get_manager
from . import _get_manager, generate_ble_device
MOCK_BLE_DEVICE = BLEDevice(
"00:00:00:00:00:00", "any", delegate="", details={"path": "/dev/hci0/device"}
MOCK_BLE_DEVICE = generate_ble_device(
"00:00:00:00:00:00",
"any",
delegate="",
details={"path": "/dev/hci0/device"},
rssi=-127,
)