Address late feedback on Deluge config flow (#71497)
Address late feedback on Deluge
This commit is contained in:
parent
4710ad07c4
commit
72dbca4f5b
3 changed files with 54 additions and 44 deletions
|
@ -1,12 +1,16 @@
|
|||
"""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
|
||||
DHT_UPLOAD = 1000
|
||||
DHT_DOWNLOAD = 1000
|
||||
DOMAIN = "deluge"
|
||||
DOMAIN: Final = "deluge"
|
||||
DOWNLOAD_SPEED = "download_speed"
|
||||
|
||||
LOGGER = logging.getLogger(__package__)
|
||||
|
||||
UPLOAD_SPEED = "upload_speed"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue