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