Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.unifi.const Namespace Reference

Variables

string ATTR_MANUFACTURER = "Ubiquiti Networks"
 
string BLOCK_SWITCH = "block"
 
string CONF_ALLOW_BANDWIDTH_SENSORS = "allow_bandwidth_sensors"
 
string CONF_ALLOW_UPTIME_SENSORS = "allow_uptime_sensors"
 
string CONF_BLOCK_CLIENT = "block_client"
 
string CONF_CLIENT_SOURCE = "client_source"
 
string CONF_DETECTION_TIME = "detection_time"
 
string CONF_DPI_RESTRICTIONS = "dpi_restrictions"
 
string CONF_IGNORE_WIRED_BUG = "ignore_wired_bug"
 
string CONF_SITE_ID = "site"
 
string CONF_SSID_FILTER = "ssid_filter"
 
string CONF_TRACK_CLIENTS = "track_clients"
 
string CONF_TRACK_DEVICES = "track_devices"
 
string CONF_TRACK_WIRED_CLIENTS = "track_wired_clients"
 
bool DEFAULT_ALLOW_BANDWIDTH_SENSORS = False
 
bool DEFAULT_ALLOW_UPTIME_SENSORS = False
 
int DEFAULT_DETECTION_TIME = 300
 
bool DEFAULT_DPI_RESTRICTIONS = True
 
bool DEFAULT_IGNORE_WIRED_BUG = False
 
bool DEFAULT_TRACK_CLIENTS = True
 
bool DEFAULT_TRACK_DEVICES = True
 
bool DEFAULT_TRACK_WIRED_CLIENTS = True
 
dictionary DEVICE_STATES
 
string DOMAIN = "unifi"
 
string DPI_SWITCH = "dpi"
 
 LOGGER = logging.getLogger(__package__)
 
string OUTLET_SWITCH = "outlet"
 
list PLATFORMS
 
string UNIFI_WIRELESS_CLIENTS = "unifi_wireless_clients"
 

Detailed Description

Constants for the UniFi Network integration.

Variable Documentation

◆ ATTR_MANUFACTURER

string homeassistant.components.unifi.const.ATTR_MANUFACTURER = "Ubiquiti Networks"

Definition at line 46 of file const.py.

◆ BLOCK_SWITCH

string homeassistant.components.unifi.const.BLOCK_SWITCH = "block"

Definition at line 48 of file const.py.

◆ CONF_ALLOW_BANDWIDTH_SENSORS

string homeassistant.components.unifi.const.CONF_ALLOW_BANDWIDTH_SENSORS = "allow_bandwidth_sensors"

Definition at line 25 of file const.py.

◆ CONF_ALLOW_UPTIME_SENSORS

string homeassistant.components.unifi.const.CONF_ALLOW_UPTIME_SENSORS = "allow_uptime_sensors"

Definition at line 26 of file const.py.

◆ CONF_BLOCK_CLIENT

string homeassistant.components.unifi.const.CONF_BLOCK_CLIENT = "block_client"

Definition at line 27 of file const.py.

◆ CONF_CLIENT_SOURCE

string homeassistant.components.unifi.const.CONF_CLIENT_SOURCE = "client_source"

Definition at line 28 of file const.py.

◆ CONF_DETECTION_TIME

string homeassistant.components.unifi.const.CONF_DETECTION_TIME = "detection_time"

Definition at line 29 of file const.py.

◆ CONF_DPI_RESTRICTIONS

string homeassistant.components.unifi.const.CONF_DPI_RESTRICTIONS = "dpi_restrictions"

Definition at line 30 of file const.py.

◆ CONF_IGNORE_WIRED_BUG

string homeassistant.components.unifi.const.CONF_IGNORE_WIRED_BUG = "ignore_wired_bug"

Definition at line 31 of file const.py.

◆ CONF_SITE_ID

string homeassistant.components.unifi.const.CONF_SITE_ID = "site"

Definition at line 21 of file const.py.

◆ CONF_SSID_FILTER

string homeassistant.components.unifi.const.CONF_SSID_FILTER = "ssid_filter"

Definition at line 35 of file const.py.

◆ CONF_TRACK_CLIENTS

string homeassistant.components.unifi.const.CONF_TRACK_CLIENTS = "track_clients"

Definition at line 32 of file const.py.

◆ CONF_TRACK_DEVICES

string homeassistant.components.unifi.const.CONF_TRACK_DEVICES = "track_devices"

Definition at line 33 of file const.py.

◆ CONF_TRACK_WIRED_CLIENTS

string homeassistant.components.unifi.const.CONF_TRACK_WIRED_CLIENTS = "track_wired_clients"

Definition at line 34 of file const.py.

◆ DEFAULT_ALLOW_BANDWIDTH_SENSORS

bool homeassistant.components.unifi.const.DEFAULT_ALLOW_BANDWIDTH_SENSORS = False

Definition at line 37 of file const.py.

◆ DEFAULT_ALLOW_UPTIME_SENSORS

bool homeassistant.components.unifi.const.DEFAULT_ALLOW_UPTIME_SENSORS = False

Definition at line 38 of file const.py.

◆ DEFAULT_DETECTION_TIME

int homeassistant.components.unifi.const.DEFAULT_DETECTION_TIME = 300

Definition at line 44 of file const.py.

◆ DEFAULT_DPI_RESTRICTIONS

bool homeassistant.components.unifi.const.DEFAULT_DPI_RESTRICTIONS = True

Definition at line 39 of file const.py.

◆ DEFAULT_IGNORE_WIRED_BUG

bool homeassistant.components.unifi.const.DEFAULT_IGNORE_WIRED_BUG = False

Definition at line 40 of file const.py.

◆ DEFAULT_TRACK_CLIENTS

bool homeassistant.components.unifi.const.DEFAULT_TRACK_CLIENTS = True

Definition at line 41 of file const.py.

◆ DEFAULT_TRACK_DEVICES

bool homeassistant.components.unifi.const.DEFAULT_TRACK_DEVICES = True

Definition at line 42 of file const.py.

◆ DEFAULT_TRACK_WIRED_CLIENTS

bool homeassistant.components.unifi.const.DEFAULT_TRACK_WIRED_CLIENTS = True

Definition at line 43 of file const.py.

◆ DEVICE_STATES

dictionary homeassistant.components.unifi.const.DEVICE_STATES
Initial value:
1 = {
2  DeviceState.DISCONNECTED: "Disconnected",
3  DeviceState.CONNECTED: "Connected",
4  DeviceState.PENDING: "Pending",
5  DeviceState.FIRMWARE_MISMATCH: "Firmware Mismatch",
6  DeviceState.UPGRADING: "Upgrading",
7  DeviceState.PROVISIONING: "Provisioning",
8  DeviceState.HEARTBEAT_MISSED: "Heartbeat Missed",
9  DeviceState.ADOPTING: "Adopting",
10  DeviceState.DELETING: "Deleting",
11  DeviceState.INFORM_ERROR: "Inform Error",
12  DeviceState.ADOPTION_FALIED: "Adoption Failed",
13  DeviceState.ISOLATED: "Isolated",
14  DeviceState.UNKNOWN: "Unknown",
15 }

Definition at line 52 of file const.py.

◆ DOMAIN

string homeassistant.components.unifi.const.DOMAIN = "unifi"

Definition at line 10 of file const.py.

◆ DPI_SWITCH

string homeassistant.components.unifi.const.DPI_SWITCH = "dpi"

Definition at line 49 of file const.py.

◆ LOGGER

homeassistant.components.unifi.const.LOGGER = logging.getLogger(__package__)

Definition at line 9 of file const.py.

◆ OUTLET_SWITCH

string homeassistant.components.unifi.const.OUTLET_SWITCH = "outlet"

Definition at line 50 of file const.py.

◆ PLATFORMS

list homeassistant.components.unifi.const.PLATFORMS
Initial value:
1 = [
2  Platform.BUTTON,
3  Platform.DEVICE_TRACKER,
4  Platform.IMAGE,
5  Platform.SENSOR,
6  Platform.SWITCH,
7  Platform.UPDATE,
8 ]

Definition at line 12 of file const.py.

◆ UNIFI_WIRELESS_CLIENTS

string homeassistant.components.unifi.const.UNIFI_WIRELESS_CLIENTS = "unifi_wireless_clients"

Definition at line 23 of file const.py.