* Update state after adding a new torrent * Use cached torrents list in check_started_torrent_info * Add torrent_info to all sensors * Add torrent_info for active torrents * Fix typo * Update codeowners * Do not set eta if it's unknown * Fix codeowners * Extract TransmissionSpeedSensor * Extract TransmissionStatusSensor * Extract TransmissionTorrentsSensor * Refactor device_state_attributes() and update() * Remove unused methods * Use async_on_remove * Fix sensor update * Add transmission.remove_torrent service * Add transmission_removed_torrent event * Fix naming * Fix typo in services.yaml
23 lines
668 B
YAML
23 lines
668 B
YAML
add_torrent:
|
|
description: Add a new torrent to download (URL, magnet link or Base64 encoded).
|
|
fields:
|
|
name:
|
|
description: Instance name as entered during entry config
|
|
example: Transmission
|
|
torrent:
|
|
description: URL, magnet link or Base64 encoded file.
|
|
example: http://releases.ubuntu.com/19.04/ubuntu-19.04-desktop-amd64.iso.torrent
|
|
|
|
remove_torrent:
|
|
description: Remove a torrent
|
|
fields:
|
|
name:
|
|
description: Instance name as entered during entry config
|
|
example: Transmission
|
|
id:
|
|
description: ID of a torrent
|
|
example: 123
|
|
delete_data:
|
|
description: Delete torrent data
|
|
example: false
|