mirror of
https://github.com/home-assistant/core.git
synced 2026-09-24 23:41:48 -05:00
Bump aiounifi version to 87 (#152395)
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
"integration_type": "hub",
|
||||
"iot_class": "local_push",
|
||||
"loggers": ["aiounifi"],
|
||||
"requirements": ["aiounifi==86"],
|
||||
"requirements": ["aiounifi==87"],
|
||||
"ssdp": [
|
||||
{
|
||||
"manufacturer": "Ubiquiti Networks",
|
||||
|
||||
Generated
+1
-1
@@ -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
|
||||
|
||||
Generated
+1
-1
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user