Sébastien Clément
80b2b05bd8
Change qBittorrent lib to qbittorrentapi ( #113394 )
...
* Change qBittorrent lib to qbittorrentapi
* Fix tests
* Convert qbittorrent service to new lib
* Add missing translation key
* Catch APIConnectionError in service call
* Replace type ignore by Any typing
* Remove last type: ignore
* Use lib type for torrent_filter
* Change import format
* Fix remaining Any type
---------
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2024-06-10 14:27:20 +02:00
Marc Mueller
988c71ecc5
Add empty line after module docstring [n-q] ( #112702 )
2024-03-08 15:04:07 +01:00
Erik Montnemery
e0c1feb22c
Migrate integrations n-r to generic flowhandler ( #111864 )
2024-02-29 20:09:01 +01:00
G Johansson
b56d25121f
Remove platform YAML qBittorrent ( #101224 )
2023-10-02 09:00:09 +02:00
Franck Nijhof
a6cfef3029
Revert "Remove qbittorrent YAML configuration ( #93548 )" ( #95522 )
2023-06-29 12:01:26 +02:00
G Johansson
d9ac041e17
Remove qbittorrent YAML configuration ( #93548 )
...
Remove platform yaml qbittorrent
2023-06-05 18:14:07 +02:00
Chris Xiao
7c778847e7
Add config flow to qBittorrent ( #82560 )
...
* qbittorrent: implement config_flow
Signed-off-by: Chris Xiao <30990835+chrisx8@users.noreply.github.com>
* qbittorrent: add English translations
Signed-off-by: Chris Xiao <30990835+chrisx8@users.noreply.github.com>
* qbittorrent: create sensors with config_flow
Signed-off-by: Chris Xiao <30990835+chrisx8@users.noreply.github.com>
* qbittorrent: set unique_id and icon
Signed-off-by: Chris Xiao <30990835+chrisx8@users.noreply.github.com>
* qbittorrent: add tests for config_flow
Signed-off-by: Chris Xiao <30990835+chrisx8@users.noreply.github.com>
* qbittorrent: detect duplicate config entries
Signed-off-by: Chris Xiao <30990835+chrisx8@users.noreply.github.com>
* qbittorrent: import YAML config
Signed-off-by: Chris Xiao <30990835+chrisx8@users.noreply.github.com>
* qbittorrent: update coveragerc
Signed-off-by: Chris Xiao <30990835+chrisx8@users.noreply.github.com>
* qbittorrent: delete translations file
* create `deprecated_yaml` issue in `setup_platform`
* move qbittorrent test fixtures to conftest.py
* improve code quality & remove wrong unique_id
* keep PLATFORM_SCHEMA until YAML support is removed
* remove CONF_NAME in config entry, fix setup_entry
* improve test suite
* clean up QBittorrentSensor class
* improve user flow tests
* explicit result assertion & minor tweaks in tests
Co-authored-by: epenet <epenet@users.noreply.github.com>
* implement entry unloading
Co-authored-by: epenet <epenet@users.noreply.github.com>
* add type hints
* tweak config_flow data handling
---------
Signed-off-by: Chris Xiao <30990835+chrisx8@users.noreply.github.com>
Co-authored-by: epenet <epenet@users.noreply.github.com>
2023-03-29 22:13:41 +02:00