Compare commits

...

2 Commits

Author SHA1 Message Date
J. Nick Koston 7afc382ae3 Update bluetooth diagnostics test for habluetooth current_mode resolution 2026-05-25 11:01:55 -05:00
J. Nick Koston 789daeada1 Bump habluetooth to 6.7.4 2026-05-25 10:32:16 -05:00
4 changed files with 9 additions and 4 deletions
@@ -21,6 +21,6 @@
"bluetooth-auto-recovery==1.6.4",
"bluetooth-data-tools==1.29.18",
"dbus-fast==5.0.9",
"habluetooth==6.7.3"
"habluetooth==6.7.4"
]
}
+1 -1
View File
@@ -35,7 +35,7 @@ file-read-backwards==2.0.0
fnv-hash-fast==2.0.3
go2rtc-client==0.4.0
ha-ffmpeg==3.2.2
habluetooth==6.7.3
habluetooth==6.7.4
hass-nabucasa==2.2.0
hassil==3.5.0
home-assistant-bluetooth==2.0.0
+1 -1
View File
@@ -1213,7 +1213,7 @@ ha-xthings-cloud==1.0.5
habiticalib==0.4.7
# homeassistant.components.bluetooth
habluetooth==6.7.3
habluetooth==6.7.4
# homeassistant.components.hanna
hanna-cloud==0.0.7
@@ -4,6 +4,7 @@ from unittest.mock import ANY, MagicMock, patch
from bleak.backends.scanner import AdvertisementData, BLEDevice
from bluetooth_adapters import DEFAULT_ADDRESS
from habluetooth.scanner import IS_MACOS
import pytest
from homeassistant.components import bluetooth
@@ -255,7 +256,11 @@ async def test_diagnostics(
"type": "FakeHaScanner",
"current_mode": {
"__type": "<enum 'BluetoothScanningMode'>",
"repr": "<BluetoothScanningMode.AUTO: 'auto'>",
"repr": (
"<BluetoothScanningMode.ACTIVE: 'active'>"
if IS_MACOS
else "<BluetoothScanningMode.PASSIVE: 'passive'>"
),
},
"requested_mode": {
"__type": "<enum 'BluetoothScanningMode'>",