UniFi config option SSID filter (#31842)
* Draft * Use new multi_select config validation * Bump dependency to v13 * Improve options flow * Add title to config options * Add config option descriptions * Fix martins comment
This commit is contained in:
parent
60ae85564e
commit
774c892ee6
10 changed files with 84 additions and 62 deletions
|
@ -54,7 +54,7 @@ async def test_no_clients(hass):
|
|||
hass, options={unifi.const.CONF_ALLOW_BANDWIDTH_SENSORS: True},
|
||||
)
|
||||
|
||||
assert len(controller.mock_requests) == 3
|
||||
assert len(controller.mock_requests) == 4
|
||||
assert len(hass.states.async_all()) == 1
|
||||
|
||||
|
||||
|
@ -70,7 +70,7 @@ async def test_sensors(hass):
|
|||
clients_response=CLIENTS,
|
||||
)
|
||||
|
||||
assert len(controller.mock_requests) == 3
|
||||
assert len(controller.mock_requests) == 4
|
||||
assert len(hass.states.async_all()) == 5
|
||||
|
||||
wired_client_rx = hass.states.get("sensor.wired_client_name_rx")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue