Bump aiounifi version to 87 (#152395)

This commit is contained in:
Tomeroeni
2025-09-16 10:04:06 +02:00
committed by GitHub
parent e9cedf4852
commit 84f1b8a5cc
4 changed files with 8 additions and 6 deletions
+1 -1
View File
@@ -7,7 +7,7 @@
"integration_type": "hub",
"iot_class": "local_push",
"loggers": ["aiounifi"],
"requirements": ["aiounifi==86"],
"requirements": ["aiounifi==87"],
"ssdp": [
{
"manufacturer": "Ubiquiti Networks",
+1 -1
View File
@@ -417,7 +417,7 @@ aiotedee==0.2.25
aiotractive==0.6.0
# homeassistant.components.unifi
aiounifi==86
aiounifi==87
# homeassistant.components.usb
aiousbwatcher==1.1.1
+1 -1
View File
@@ -399,7 +399,7 @@ aiotedee==0.2.25
aiotractive==0.6.0
# homeassistant.components.unifi
aiounifi==86
aiounifi==87
# homeassistant.components.usb
aiousbwatcher==1.1.1
+5 -3
View File
@@ -1869,7 +1869,9 @@ async def test_port_control_switches(
await hass.async_block_till_done()
assert aioclient_mock.call_count == 1
assert aioclient_mock.mock_calls[0][2] == {
"port_overrides": [{"enable": False, "port_idx": 1, "portconf_id": "1a1"}]
"port_overrides": [
{"port_idx": 1, "port_security_enabled": True, "portconf_id": "1a1"}
]
}
# Turn on port
@@ -1890,12 +1892,12 @@ async def test_port_control_switches(
assert aioclient_mock.call_count == 3
assert aioclient_mock.mock_calls[1][2] == {
"port_overrides": [
{"port_idx": 1, "enable": True, "portconf_id": "1a1"},
{"port_idx": 1, "port_security_enabled": False, "portconf_id": "1a1"},
]
}
assert aioclient_mock.mock_calls[2][2] == {
"port_overrides": [
{"port_idx": 2, "enable": False, "portconf_id": "1a2"},
{"port_idx": 2, "port_security_enabled": True, "portconf_id": "1a2"},
]
}
# Device gets disabled