UniFi block clients (#25478)

* Allow blocking clients on UniFi networks
This commit is contained in:
Robert Svensson authored and GitHub committed 2019-07-25 16:56:56 +02:00
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