mirror of
https://github.com/home-assistant/core.git
synced 2025-11-10 19:40:11 +00:00
Cleanup bleak warnings (#148665)
This commit is contained in:
@@ -66,9 +66,7 @@ def fake_ble_discovery() -> Generator[None]:
|
||||
"""Fake BLE discovery."""
|
||||
|
||||
class FakeBLEDiscovery(FakeDiscovery):
|
||||
device = BLEDevice(
|
||||
address="AA:BB:CC:DD:EE:FF", name="TestDevice", rssi=-50, details=()
|
||||
)
|
||||
device = BLEDevice(address="AA:BB:CC:DD:EE:FF", name="TestDevice", details=())
|
||||
|
||||
with patch("aiohomekit.testing.FakeDiscovery", FakeBLEDiscovery):
|
||||
yield
|
||||
|
||||
Reference in New Issue
Block a user