Add DPI Restriction switch to UniFi integration (#42499)
* initial implementation for controlling DPI restrictions * address PR review comments and add DataUpdateCoordinator * fix existing tests against new lib version * add tests for DPI switches * bump aiounifi * listen to events instead of polling * fix tests * remove useless test * bump aiounifi * rename device to UniFi Controller per PR feedback
This commit is contained in:
parent
aab0ff2ea5
commit
5a4c1dbcc4
14 changed files with 309 additions and 42 deletions
|
@ -15,6 +15,7 @@ CONF_ALLOW_BANDWIDTH_SENSORS = "allow_bandwidth_sensors"
|
|||
CONF_ALLOW_UPTIME_SENSORS = "allow_uptime_sensors"
|
||||
CONF_BLOCK_CLIENT = "block_client"
|
||||
CONF_DETECTION_TIME = "detection_time"
|
||||
CONF_DPI_RESTRICTIONS = "dpi_restrictions"
|
||||
CONF_IGNORE_WIRED_BUG = "ignore_wired_bug"
|
||||
CONF_POE_CLIENTS = "poe_clients"
|
||||
CONF_TRACK_CLIENTS = "track_clients"
|
||||
|
@ -24,6 +25,7 @@ CONF_SSID_FILTER = "ssid_filter"
|
|||
|
||||
DEFAULT_ALLOW_BANDWIDTH_SENSORS = False
|
||||
DEFAULT_ALLOW_UPTIME_SENSORS = False
|
||||
DEFAULT_DPI_RESTRICTIONS = True
|
||||
DEFAULT_IGNORE_WIRED_BUG = False
|
||||
DEFAULT_POE_CLIENTS = True
|
||||
DEFAULT_TRACK_CLIENTS = True
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue