core/homeassistant/components/unifi/const.py

29 lines
744 B
Python
Raw Normal View History

"""Constants for the UniFi component."""
import logging
LOGGER = logging.getLogger(__package__)
2019-07-31 19:25:30 +00:00
DOMAIN = "unifi"
2019-07-31 19:25:30 +00:00
CONTROLLER_ID = "{host}-{site}"
2019-07-31 19:25:30 +00:00
CONF_CONTROLLER = "controller"
CONF_SITE_ID = "site"
UNIFI_WIRELESS_CLIENTS = "unifi_wireless_clients"
CONF_ALLOW_BANDWIDTH_SENSORS = "allow_bandwidth_sensors"
2019-07-31 19:25:30 +00:00
CONF_BLOCK_CLIENT = "block_client"
CONF_DETECTION_TIME = "detection_time"
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
DEFAULT_ALLOW_BANDWIDTH_SENSORS = False
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"