Bump aiounifi to v93 (#179552)

This commit is contained in:
Jim Strang
2026-08-19 20:13:52 +02:00
committed by GitHub
parent 3e53fa8678
commit 0bee4c11c5
3 changed files with 31 additions and 2 deletions
+1 -1
View File
@@ -9,5 +9,5 @@
"iot_class": "local_push",
"loggers": ["aiounifi"],
"quality_scale": "silver",
"requirements": ["aiounifi==92"]
"requirements": ["aiounifi==93"]
}
+1 -1
View File
@@ -453,7 +453,7 @@ aiotedee==0.3.0
aiotractive==1.0.3
# homeassistant.components.unifi
aiounifi==92
aiounifi==93
# homeassistant.components.usb
aiousbwatcher==1.1.2
+29
View File
@@ -735,6 +735,34 @@ PDU_DEVICE_1 = {
"x_has_ssh_hostkey": True,
}
UPS_DEVICE_1 = deepcopy(PDU_DEVICE_1)
UPS_DEVICE_1.update(
{
"device_id": "mock-ups",
"mac": "02:00:00:00:00:01",
"model": "USPDA2B",
"name": "Dummy UPS 2U Pro",
"type": "usp",
"outlet_table": [
{
"index": 1,
"relay_state": True,
"cycle_enabled": False,
"name": "Outlet 1",
"outlet_caps": 65539,
}
],
"outlet_overrides": [
{
"cycle_enabled": False,
"name": "Outlet 1",
"relay_state": True,
"index": 1,
}
],
}
)
WLAN = {
"_id": "012345678910111213141516",
"bc_filter_enabled": False,
@@ -1455,6 +1483,7 @@ async def test_object_oriented_network_configs(
([OUTLET_UP1], "plug_outlet_1", 1, 1),
([PDU_DEVICE_1], "dummy_usp_pdu_pro_usb_outlet_1", 1, 2),
([PDU_DEVICE_1], "dummy_usp_pdu_pro_outlet_2", 2, 2),
([UPS_DEVICE_1], "dummy_ups_2u_pro_outlet_1", 1, 1),
],
)
async def test_outlet_switches(