Bump habluetooth to 3.17.1 (#137045)

This commit is contained in:
J. Nick Koston 2025-01-31 18:13:27 -06:00 committed by GitHub
parent 7040614433
commit c35e7715b7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
6 changed files with 54 additions and 9 deletions

View File

@ -21,6 +21,6 @@
"bluetooth-auto-recovery==1.4.2",
"bluetooth-data-tools==1.22.0",
"dbus-fast==2.30.2",
"habluetooth==3.17.0"
"habluetooth==3.17.1"
]
}

View File

@ -33,7 +33,7 @@ dbus-fast==2.30.2
fnv-hash-fast==1.2.2
go2rtc-client==0.1.2
ha-ffmpeg==3.2.2
habluetooth==3.17.0
habluetooth==3.17.1
hass-nabucasa==0.88.1
hassil==2.2.0
home-assistant-bluetooth==1.13.0

2
requirements_all.txt generated
View File

@ -1103,7 +1103,7 @@ ha-philipsjs==3.2.2
habiticalib==0.3.3
# homeassistant.components.bluetooth
habluetooth==3.17.0
habluetooth==3.17.1
# homeassistant.components.cloud
hass-nabucasa==0.88.1

View File

@ -944,7 +944,7 @@ ha-philipsjs==3.2.2
habiticalib==0.3.3
# homeassistant.components.bluetooth
habluetooth==3.17.0
habluetooth==3.17.1
# homeassistant.components.cloud
hass-nabucasa==0.88.1

View File

@ -133,7 +133,20 @@ async def test_diagnostics(
}
},
"manager": {
"allocations": {},
"allocations": {
"00:00:00:00:00:01": {
"allocated": [],
"free": 5,
"slots": 5,
"source": "00:00:00:00:00:01",
},
"00:00:00:00:00:02": {
"allocated": [],
"free": 2,
"slots": 2,
"source": "00:00:00:00:00:02",
},
},
"adapters": {
"hci0": {
"address": "00:00:00:00:00:01",
@ -292,7 +305,14 @@ async def test_diagnostics_macos(
}
},
"manager": {
"allocations": {},
"allocations": {
"Core Bluetooth": {
"allocated": [],
"free": 5,
"slots": 5,
"source": "Core Bluetooth",
},
},
"adapters": {
"Core Bluetooth": {
"address": "00:00:00:00:00:00",
@ -486,7 +506,14 @@ async def test_diagnostics_remote_adapter(
},
"dbus": {},
"manager": {
"allocations": {},
"allocations": {
"00:00:00:00:00:01": {
"allocated": [],
"free": 5,
"slots": 5,
"source": "00:00:00:00:00:01",
},
},
"adapters": {
"hci0": {
"address": "00:00:00:00:00:01",

View File

@ -159,12 +159,30 @@ async def test_subscribe_connection_allocations(
response = await client.receive_json()
assert response["event"] == [
{
"allocated": [],
"free": 5,
"slots": 5,
"source": "00:00:00:00:00:01",
},
{
"allocated": [],
"free": 5,
"slots": 5,
"source": HCI0_SOURCE_ADDRESS,
},
{
"allocated": [],
"free": 5,
"slots": 5,
"source": HCI1_SOURCE_ADDRESS,
},
{
"allocated": [],
"free": 0,
"slots": 0,
"source": NON_CONNECTABLE_REMOTE_SOURCE_ADDRESS,
}
},
]
manager = _get_manager()
@ -184,7 +202,7 @@ async def test_subscribe_connection_allocations(
"free": 4,
"slots": 5,
"source": "AA:BB:CC:DD:EE:11",
}
},
]
manager.async_on_allocation_changed(
Allocations(