UniFi - reverse connectivity logic (#25691)
* Make connectivity control in line with other implementations
This commit is contained in:
1 parent
2925f9e57a
commit
4e2094c893
2 files changed
+8
-8
No files matched your search
@@ -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):
|
||||
|
||||
Reference in new issue
Block a user