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
|
|
|
CONTROLLER_ID = "{host}-{site}"
|
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-07-31 19:25:30 +00:00
|
|
|
UNIFI_CONFIG = "unifi_config"
|
2019-07-14 19:57:09 +00:00
|
|
|
|
2019-07-31 19:25:30 +00:00
|
|
|
CONF_BLOCK_CLIENT = "block_client"
|
|
|
|
CONF_DETECTION_TIME = "detection_time"
|
2019-08-02 08:13:00 +00:00
|
|
|
CONF_DONT_TRACK_CLIENTS = "dont_track_clients"
|
|
|
|
CONF_DONT_TRACK_DEVICES = "dont_track_devices"
|
2019-08-02 21:51:06 +00:00
|
|
|
CONF_DONT_TRACK_WIRED_CLIENTS = "dont_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-07-31 19:25:30 +00:00
|
|
|
ATTR_MANUFACTURER = "Ubiquiti Networks"
|