2018-10-16 08:35:35 +00:00
|
|
|
"""Constants for the UniFi component."""
|
|
|
|
import logging
|
|
|
|
|
2019-05-07 22:52:49 +00:00
|
|
|
LOGGER = logging.getLogger(__package__)
|
2019-07-31 19:25:30 +00:00
|
|
|
DOMAIN = "unifi"
|
2018-10-16 08:35:35 +00:00
|
|
|
|
2019-07-31 19:25:30 +00:00
|
|
|
CONF_CONTROLLER = "controller"
|
|
|
|
CONF_SITE_ID = "site"
|
2019-07-14 19:57:09 +00:00
|
|
|
|
2019-10-02 19:43:14 +00:00
|
|
|
UNIFI_WIRELESS_CLIENTS = "unifi_wireless_clients"
|
2019-07-14 19:57:09 +00:00
|
|
|
|
2019-10-06 15:17:40 +00:00
|
|
|
CONF_ALLOW_BANDWIDTH_SENSORS = "allow_bandwidth_sensors"
|
2020-09-18 17:33:37 +00:00
|
|
|
CONF_ALLOW_UPTIME_SENSORS = "allow_uptime_sensors"
|
2019-07-31 19:25:30 +00:00
|
|
|
CONF_BLOCK_CLIENT = "block_client"
|
|
|
|
CONF_DETECTION_TIME = "detection_time"
|
2020-11-03 07:36:37 +00:00
|
|
|
CONF_DPI_RESTRICTIONS = "dpi_restrictions"
|
2020-04-17 06:39:01 +00:00
|
|
|
CONF_IGNORE_WIRED_BUG = "ignore_wired_bug"
|
2020-04-02 15:53:33 +00:00
|
|
|
CONF_POE_CLIENTS = "poe_clients"
|
2019-08-21 20:22:42 +00:00
|
|
|
CONF_TRACK_CLIENTS = "track_clients"
|
|
|
|
CONF_TRACK_DEVICES = "track_devices"
|
|
|
|
CONF_TRACK_WIRED_CLIENTS = "track_wired_clients"
|
2019-07-31 19:25:30 +00:00
|
|
|
CONF_SSID_FILTER = "ssid_filter"
|
2019-07-30 08:05:51 +00:00
|
|
|
|
2019-10-06 15:17:40 +00:00
|
|
|
DEFAULT_ALLOW_BANDWIDTH_SENSORS = False
|
2020-09-18 17:33:37 +00:00
|
|
|
DEFAULT_ALLOW_UPTIME_SENSORS = False
|
2020-11-03 07:36:37 +00:00
|
|
|
DEFAULT_DPI_RESTRICTIONS = True
|
2020-04-17 06:39:01 +00:00
|
|
|
DEFAULT_IGNORE_WIRED_BUG = False
|
2020-04-02 15:53:33 +00:00
|
|
|
DEFAULT_POE_CLIENTS = True
|
2019-08-21 20:22:42 +00:00
|
|
|
DEFAULT_TRACK_CLIENTS = True
|
|
|
|
DEFAULT_TRACK_DEVICES = True
|
|
|
|
DEFAULT_TRACK_WIRED_CLIENTS = True
|
|
|
|
DEFAULT_DETECTION_TIME = 300
|
|
|
|
|
2019-07-31 19:25:30 +00:00
|
|
|
ATTR_MANUFACTURER = "Ubiquiti Networks"
|