Commit graph

20 commits

Author SHA1 Message Date
Marc Mueller
dc47792ff2
Update codespell to 2.3.0 (#118001) 2024-05-24 08:22:29 +02:00
Ingmar Delsink
67a14d0463
Add transmission-integration path and protocol (#104334)
This updates the config_flow migration from v1.1 to v1.2
including migration tests
2024-03-21 11:05:36 +01:00
Marc Mueller
062cc4bfce
Add empty line after module docstring [t-v] (#112705) 2024-03-08 10:35:23 -05:00
Rami Mosleh
77a2f1664e
Use EntityDescription for Transmission entities (#103581) 2023-11-08 00:05:17 +01:00
Rami Mosleh
b6a3f628d1
Bump transmission-rpc to version 7.0.3 (#103502)
* Bump transmission-rpc to version 7.0.3

* Change `date_added` to `added_date`
2023-11-07 09:04:59 +01:00
Marc Mueller
ff5504f55f
Add strict typing for transmission (#101904) 2023-10-12 22:20:39 +02:00
Rami Mosleh
536ad57bf4
Use DataUpdate coordinator for Transmission (#99209)
* Switch integration to DataUpdate Coordinator

* add coordinator to .coveragerc

* Migrate TransmissionData into DUC

* update coveragerc

* Applu suggestions

* remove CONFIG_SCHEMA
2023-10-12 20:58:22 +02:00
avee87
6c2c4c989f
Migrate Transmission to new entity naming (#95436) 2023-06-28 14:00:06 +02:00
Jörg Thalheim
7e46d7e808
Bump transmission-rpc to 4.1.5 (#91088)
Signed-off-by: Jörg Thalheim <joerg@thalheim.io>
2023-04-09 16:51:31 -04:00
avee87
c2f69dc59d
Revert Transmission entities name changes (#89409) 2023-03-09 13:02:12 +01:00
Tucker Kern
37ec442ffb
Use title case for Transmission status sensor (#88578
* Use title case for Transmission status sensor

* Use localizations for transmission status sensor

* Assign device class and options as requested by review.

* Don't use title case for entity names
2023-03-05 22:12:30 +01:00
Rami Mosleh
06773efcbd
Deprecate name key in Transmission services (#78577)
* Use entry_id instead of name in Transmission services

* fix return type for _get_client

* address comments

* combine conditions
2022-10-30 12:00:47 +01:00
Julien Roy
94417e3e14
Add start torrent and stop torrent service for transmission integration (#43920) 2021-01-13 17:44:57 +01:00
Gleb Sinyavskiy
4a374f0378
Limit and sort transmission torrents_info attribute (#35411) 2020-06-28 13:56:54 +02:00
Gleb Sinyavskiy
9062d6e5e6
Improve the transmission integration (#34223)
* 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
2020-04-20 15:07:26 +02:00
Ville Skyttä
3e23a3a860
Add and use bunch of data size and rate related constants (#31781)
Also fix a few units to match the corresponding data.
2020-02-13 08:52:57 -08:00
Yuchen Ying
9804fbb527 Add unit_of_measurement to various Transmission sensors (#30037)
* Add unit_of_measurement to various Transmission sensors 

Without unit_of_measurement, the history graph card will not show those sensors as line chart.

* Change Counts to Torrents.
2019-12-19 11:23:46 +01:00
J.P. Hutchins
54342d2a4e Add transmission info about torrents that is accessible with templating (#27111)
* Add information about current downloads.

* Cleanup: add "Torrent Info" state attribute

* Add username to codeowners

* Rename state_attributes - device_state_attributes.

* Fix snakecase keys, use f-strings, remove redundant method.

* Access started_torrent_dict directly

* Add return None condition

* Remove redundancy.

* Add missing comma in codeowners list.

* Add missing @ to username.

* Update CODEOWNERS with script.hassfest.

* Remove transmission_downloading, give started_torrents the info.

* Confirm changes.

* Actually approve changes.

* Resolve conflicts.

* Remove leftovers from old torrent_info sensor.

* Remove get_started_torrent_info method.

Old method to display boolean for the removed torrent_info sensor.
2019-10-28 10:20:59 +01:00
Rami Mosleh
7cb6607b1f Allow multiple Transmission clients and add unique_id to entities (#28136)
* Allow multiple clients + improvements

* remove commented code

* fixed test_init.py
2019-10-23 13:09:11 -07:00
Rami Mosleh
82b77c2d29 Add config flow to transmission (#26434)
* Add config flow to transmission

* Reworked code to add all sensors and switches

* applied fixes

* final touches

* Add tests

* fixed tests

* fix get_api errors and entities availabilty update

* update config_flows.py

* fix pylint error

* update .coveragerc

* add codeowner

* add test_options

* fixed test_options
2019-09-26 11:14:57 +02:00