1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-24 04:50:05 +00:00

UniFi - Support automatic removal of clients (#34307)

This commit is contained in:
Robert Svensson
2020-04-17 00:08:53 +02:00
committed by GitHub
parent abae48c287
commit 374fe47809
11 changed files with 227 additions and 46 deletions

View File

@@ -177,6 +177,7 @@ async def test_controller_setup(hass):
assert controller.mac is None
assert controller.signal_update == "unifi-update-1.2.3.4-site_id"
assert controller.signal_remove == "unifi-remove-1.2.3.4-site_id"
assert controller.signal_options_update == "unifi-options-1.2.3.4-site_id"
@@ -206,7 +207,7 @@ async def test_reset_after_successful_setup(hass):
"""Calling reset when the entry has been setup."""
controller = await setup_unifi_integration(hass)
assert len(controller.listeners) == 6
assert len(controller.listeners) == 9
result = await controller.async_reset()
await hass.async_block_till_done()