Classes | |
| class | QBittorrentSensor |
| class | QBittorrentSensorEntityDescription |
Functions | |
| None | async_setup_entry (HomeAssistant hass, ConfigEntry config_entry, AddEntitiesCallback async_add_entities) |
| int | count_torrents_in_states (QBittorrentDataCoordinator coordinator, list[str] states) |
| int | get_dl (QBittorrentDataCoordinator coordinator) |
| str | get_state (QBittorrentDataCoordinator coordinator) |
| int | get_up (QBittorrentDataCoordinator coordinator) |
Variables | |
| _LOGGER = logging.getLogger(__name__) | |
| string | SENSOR_TYPE_ACTIVE_TORRENTS = "active_torrents" |
| string | SENSOR_TYPE_ALL_TORRENTS = "all_torrents" |
| string | SENSOR_TYPE_CURRENT_STATUS = "current_status" |
| string | SENSOR_TYPE_DOWNLOAD_SPEED = "download_speed" |
| string | SENSOR_TYPE_INACTIVE_TORRENTS = "inactive_torrents" |
| string | SENSOR_TYPE_PAUSED_TORRENTS = "paused_torrents" |
| string | SENSOR_TYPE_UPLOAD_SPEED = "upload_speed" |
Support for monitoring the qBittorrent API.
| 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 | ) |
|
private |
| 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" |