Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.deluge.const .DelugeGetSessionStatusKeys Class Reference
Inheritance diagram for homeassistant.components.deluge.const .DelugeGetSessionStatusKeys:
[legend]
Collaboration diagram for homeassistant.components.deluge.const .DelugeGetSessionStatusKeys:
[legend]

Static Public Attributes

string DHT_DOWNLOAD_RATE = "dht_download_rate"
 
string DHT_UPLOAD_RATE = "dht_upload_rate"
 
string DOWNLOAD_RATE = "download_rate"
 
string UPLOAD_RATE = "upload_rate"
 

Detailed Description

Enum representing the keys that get passed into the Deluge RPC `core.get_session_status` xml rpc method.

You can call `core.get_session_status` with no keys (so an empty list in deluge-client.DelugeRPCClient.call)
to get the full list of possible keys, but it seems to basically be a all of the session statistics
listed on this page: https://www.rasterbar.com/products/libtorrent/manual-ref.html#session-statistics
and a few others

there is also a list of deprecated keys that deluge will translate for you and issue a warning in the log:
https://github.com/deluge-torrent/deluge/blob/7f3f7f69ee78610e95bea07d99f699e9310c4e08/deluge/core/core.py#L58

Definition at line 15 of file const.py.

Member Data Documentation

◆ DHT_DOWNLOAD_RATE

string homeassistant.components.deluge.const .DelugeGetSessionStatusKeys.DHT_DOWNLOAD_RATE = "dht_download_rate"
static

Definition at line 28 of file const.py.

◆ DHT_UPLOAD_RATE

string homeassistant.components.deluge.const .DelugeGetSessionStatusKeys.DHT_UPLOAD_RATE = "dht_upload_rate"
static

Definition at line 29 of file const.py.

◆ DOWNLOAD_RATE

string homeassistant.components.deluge.const .DelugeGetSessionStatusKeys.DOWNLOAD_RATE = "download_rate"
static

Definition at line 30 of file const.py.

◆ UPLOAD_RATE

string homeassistant.components.deluge.const .DelugeGetSessionStatusKeys.UPLOAD_RATE = "upload_rate"
static

Definition at line 31 of file const.py.


The documentation for this class was generated from the following file: