UniFi block clients (#25478)
* Allow blocking clients on UniFi networks
This commit is contained in:
1 parent
59c62a261b
commit
b6934f0cd0
10 files changed
+157
-43
No files matched your search
@@ -122,6 +122,7 @@ async def test_no_clients(hass, mock_controller):
|
||||
"""Test the update_clients function when no clients are found."""
|
||||
mock_controller.mock_client_responses.append({})
|
||||
mock_controller.mock_device_responses.append({})
|
||||
|
||||
await setup_controller(hass, mock_controller)
|
||||
assert len(mock_controller.mock_requests) == 2
|
||||
assert len(hass.states.async_all()) == 2
|
||||
|
||||
Reference in new issue
Block a user