core/homeassistant/components/asuswrt/const.py

29 lines
634 B
Python
Raw Normal View History

"""AsusWrt component constants."""
DOMAIN = "asuswrt"
CONF_DNSMASQ = "dnsmasq"
CONF_INTERFACE = "interface"
CONF_REQUIRE_IP = "require_ip"
CONF_SSH_KEY = "ssh_key"
CONF_TRACK_UNKNOWN = "track_unknown"
DATA_ASUSWRT = DOMAIN
DEFAULT_DNSMASQ = "/var/lib/misc"
DEFAULT_INTERFACE = "eth0"
DEFAULT_SSH_PORT = 22
DEFAULT_TRACK_UNKNOWN = False
MODE_AP = "ap"
MODE_ROUTER = "router"
PROTOCOL_SSH = "ssh"
PROTOCOL_TELNET = "telnet"
# Sensors
SENSOR_CONNECTED_DEVICE = "sensor_connected_device"
SENSOR_RX_BYTES = "sensor_rx_bytes"
SENSOR_TX_BYTES = "sensor_tx_bytes"
SENSOR_RX_RATES = "sensor_rx_rates"
SENSOR_TX_RATES = "sensor_tx_rates"