Home Assistant Unofficial Reference 2024.12.1
sensor.py File Reference

Go to the source code of this file.

Classes

class  homeassistant.components.qbittorrent.sensor.QBittorrentSensor
 
class  homeassistant.components.qbittorrent.sensor.QBittorrentSensorEntityDescription
 

Namespaces

 homeassistant.components.qbittorrent.sensor
 

Functions

None homeassistant.components.qbittorrent.sensor.async_setup_entry (HomeAssistant hass, ConfigEntry config_entry, AddEntitiesCallback async_add_entities)
 
int homeassistant.components.qbittorrent.sensor.count_torrents_in_states (QBittorrentDataCoordinator coordinator, list[str] states)
 
int homeassistant.components.qbittorrent.sensor.get_dl (QBittorrentDataCoordinator coordinator)
 
str homeassistant.components.qbittorrent.sensor.get_state (QBittorrentDataCoordinator coordinator)
 
int homeassistant.components.qbittorrent.sensor.get_up (QBittorrentDataCoordinator coordinator)
 

Variables

 homeassistant.components.qbittorrent.sensor._LOGGER = logging.getLogger(__name__)
 
string homeassistant.components.qbittorrent.sensor.SENSOR_TYPE_ACTIVE_TORRENTS = "active_torrents"
 
string homeassistant.components.qbittorrent.sensor.SENSOR_TYPE_ALL_TORRENTS = "all_torrents"
 
string homeassistant.components.qbittorrent.sensor.SENSOR_TYPE_CURRENT_STATUS = "current_status"
 
string homeassistant.components.qbittorrent.sensor.SENSOR_TYPE_DOWNLOAD_SPEED = "download_speed"
 
string homeassistant.components.qbittorrent.sensor.SENSOR_TYPE_INACTIVE_TORRENTS = "inactive_torrents"
 
string homeassistant.components.qbittorrent.sensor.SENSOR_TYPE_PAUSED_TORRENTS = "paused_torrents"
 
string homeassistant.components.qbittorrent.sensor.SENSOR_TYPE_UPLOAD_SPEED = "upload_speed"