1
mirror of https://github.com/home-assistant/core synced 2024-09-03 08:14:07 +02:00
ha-core/homeassistant/components/deluge/const.py
Robert Hillis 72dbca4f5b
Address late feedback on Deluge config flow (#71497)
Address late feedback on Deluge
2022-05-21 11:20:37 +02:00

17 lines
435 B
Python

"""Constants for the Deluge integration."""
import logging
from typing import Final
CONF_WEB_PORT = "web_port"
CURRENT_STATUS = "current_status"
DATA_KEYS = ["upload_rate", "download_rate", "dht_upload_rate", "dht_download_rate"]
DEFAULT_NAME = "Deluge"
DEFAULT_RPC_PORT = 58846
DEFAULT_WEB_PORT = 8112
DOMAIN: Final = "deluge"
DOWNLOAD_SPEED = "download_speed"
LOGGER = logging.getLogger(__package__)
UPLOAD_SPEED = "upload_speed"