UniFi streamline loading platforms (#100071)

* Streamline loading platforms

* Move platform registration logic to UnifiController class
This commit is contained in:
Robert Svensson 2023-09-11 15:55:27 +02:00 committed by GitHub
parent 791482406c
commit d8445a79fc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 57 additions and 79 deletions

View file

@ -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],
)