UniFi streamline loading platforms (#100071)
* Streamline loading platforms * Move platform registration logic to UnifiController class
This commit is contained in:
parent
791482406c
commit
d8445a79fc
8 changed files with 57 additions and 79 deletions
|
@ -946,7 +946,7 @@ async def test_restoring_client(
|
|||
await setup_unifi_integration(
|
||||
hass,
|
||||
aioclient_mock,
|
||||
options={CONF_BLOCK_CLIENT: True},
|
||||
options={CONF_BLOCK_CLIENT: [restored["mac"]]},
|
||||
clients_response=[client],
|
||||
clients_all_response=[restored, not_restored],
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue