1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-24 21:06:19 +00:00

UniFi - reverse connectivity logic (#25691)

* Make connectivity control in line with other implementations
This commit is contained in:
Robert Svensson
2019-08-04 16:57:36 +02:00
committed by GitHub
parent 5a90b49e27
commit 576291779e
2 changed files with 8 additions and 8 deletions

View File

@@ -342,11 +342,11 @@ async def test_switches(hass, mock_controller):
blocked = hass.states.get("switch.block_client_1")
assert blocked is not None
assert blocked.state == "on"
assert blocked.state == "off"
unblocked = hass.states.get("switch.block_client_2")
assert unblocked is not None
assert unblocked.state == "off"
assert unblocked.state == "on"
async def test_new_client_discovered(hass, mock_controller):