Commit graph

303 commits

Author SHA1 Message Date
epenet
d6e73a89f3
Cleanup unnecessary __init__ method in OptionsFlow (#129651)
* Cleanup unnecessary init step in OptionsFlow

* Increase coverage
2024-11-02 18:15:41 +01:00
rappenze
9cc934a972
Fix description placeholder in transmission reauth (#128938) 2024-10-21 23:05:24 +02:00
epenet
46fa9e6b82
Use new reauth helpers in transmission (#128765) 2024-10-19 14:32:26 +02:00
Erik Montnemery
38ef216894
Update icons.json to new service schema part 4 (#124771) 2024-08-28 13:48:13 +02:00
fustom
c2f2a868c4
Fix limit and order property for transmission integration (#123305) 2024-08-08 18:49:47 +02:00
Marc Mueller
e5f2046b19
Update mypy-dev to 1.12.0a2 (#122613) 2024-07-25 21:48:10 +02:00
Rami Mosleh
e1a6ac59e1
Move transmission services registration to async_setup (#119593)
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
2024-06-21 12:58:33 +02:00
Rami Mosleh
e065c70969
Store transmission coordinator in runtime_data (#119502)
store transmission coordinator in runtime_data
2024-06-12 15:38:35 +02:00
Rami Mosleh
7337c13747
Use torrent id to identify torrents that should trigger events (#118897) 2024-06-07 00:44:21 +02:00
Marc Mueller
dbb27755a4
Update mypy-dev to 1.11.0a5 (#118519) 2024-06-02 15:28:24 +02:00
Marc Mueller
dc47792ff2
Update codespell to 2.3.0 (#118001) 2024-05-24 08:22:29 +02:00
Sid
6587ee20db
Enable Ruff TRY300 (#114437)
* Enable Ruff TRY300

* Update validation.py

* Address review comments
2024-03-30 10:37:59 +01: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
Joost Lekkerkerker
d723d5815c
Remove entity description mixin in Transmission (#112958) 2024-03-11 11:55:08 +01:00
Marc Mueller
062cc4bfce
Add empty line after module docstring [t-v] (#112705) 2024-03-08 10:35:23 -05:00
Joost Lekkerkerker
a4444925c8
Add icon translations to Transmission (#112324) 2024-03-06 12:36:01 +01:00
Erik Montnemery
b0ed8c4961
Migrate integrations s-t to generic flowhandler (#111865) 2024-02-29 22:16:14 +01:00
Erik Montnemery
0c2485bc03
Freeze integration entity descriptions (#105984)
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-12-18 16:28:13 -10:00
Rami Mosleh
ab40ba80a9
Improve Transmission Entity description class (#105924)
* Add entity mixin for transmission sensors

* use kw_only in EntityDescription class

* minor fix

* Update sensor.py uom
2023-12-18 19:09:01 +01:00
Rami Mosleh
0c421b7309
Add entity description mixin to transmission switches (#103843)
* Add entity description mixin for transmission switches

* minor fix
2023-11-12 13:13:49 +01: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
Rami Mosleh
61a1245a84
Code cleanup for transmission integration (#103078) 2023-10-31 08:49:03 +01:00
Rami Mosleh
fea15148a1
Remove scan_interval from transmission (#98858)
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
Co-authored-by: Franck Nijhof <git@frenck.dev>
2023-10-24 14:17:46 +02:00
Rami Mosleh
a2bc2bf8a0
Remove name from Transmission config flow (#102216)
* Remove name key from Transmission

* Remove name variable completely

* remove name error from strings

* Change entry title to default name
2023-10-23 09:21:15 +02:00
Marc Mueller
ff5504f55f
Add strict typing for transmission (#101904) 2023-10-12 22:20:39 +02:00
Marc Mueller
8b134f26a9
Fix transmission Coordinator typing (#101903) 2023-10-12 22:13:33 +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
Rami Mosleh
1d403a961f
Reorganize Transmission entry setup (#99195)
* simplify integration setup

* Update transmission entry setup to avoid None attributes

* keep api property in TransmissionData

* Apply suggestion

* Add __init__.py tp .coveragerc
2023-08-28 13:13:35 +02:00
Rami Mosleh
8edae37082
Add more type hints to Transmission (#99190)
* More type hints of transmssion

* More type hints
2023-08-28 11:20:18 +02:00
Rami Mosleh
2dd6b26fbc
Add type hints to transmission (#99117)
* Add type hints

* Apply suggestions
2023-08-27 12:43:30 +02:00
Erik Montnemery
045c327928
Move DeviceInfo from entity to device registry (#98149)
* Move DeviceInfo from entity to device registry

* Update integrations
2023-08-10 22:04:26 -04:00
Joost Lekkerkerker
c154c2b060
Add entity translations to Transmission (#96761) 2023-07-18 09:17:28 +02:00
Paulus Schoutsen
7859be6481
Add deduplicate translations script (#96384)
* Add deduplicate script

* Fix forecast_solar incorrect key with space

* Fix utf-8

* Do not create references to other arbitrary other integrations

* Add commented code to only allow applying to referencing integrations

* Tweak

* Bug fix

* Add command line arg for limit reference

* never suggest to update common keys

* Output of script

* Apply suggestions from code review

Co-authored-by: Michael <35783820+mib1185@users.noreply.github.com>

---------

Co-authored-by: Michael <35783820+mib1185@users.noreply.github.com>
2023-07-13 11:52:50 -04:00
Franck Nijhof
4edec69637
Migrate integration services (T-V) to support translations (#96379) 2023-07-12 07:37:13 +02:00
avee87
6c2c4c989f
Migrate Transmission to new entity naming (#95436) 2023-06-28 14:00:06 +02:00
avee87
a5b91cb7e3
Fix invalid unique id for Transmission entities (#84664)
* Update unique id for Transmission entities

* Moved migration to a separate function

* Hopefully fixed coverage

* Extracted dictionary to constant

* review comments

* more comments

* revert accidental name change

* more review comments

* more review comments

* use lists instead of incorrect tuple syntax
2023-06-28 10:45:13 +02:00
DDanii
9ce062411d
Fix transmission error handling (#91548)
* transmission error handle fix

* added unexpected case tests
2023-05-05 08:42:51 +02:00
avee87
a164530a64
Remove name attribute from transmission services manifest (#92083) 2023-04-27 09:45:49 +02:00
epenet
d173590477
Remove combined translations in integrations (#91337)
Co-authored-by: Michael <35783820+mib1185@users.noreply.github.com>
2023-04-15 15:51:04 +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
Geoff
08444eeb76
Update transmission up/down speed values (#88528)
Co-authored-by: Erik Montnemery <erik@montnemery.com>
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2023-03-28 13:20:20 +02: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
Erik Montnemery
b0b1d8143f
Sort manifests 10 (#87031) 2023-02-08 20:41:50 +01:00
Franck Nijhof
939eef3b28
Remove translations from Core (#87543)
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2023-02-06 15:06:43 +01:00
epenet
cdc01fce4c
Improve type hints in transmission (#87171) 2023-02-02 16:32:51 -05:00
Franck Nijhof
5e81d28116
Update black to 23.1.0 (#87188) 2023-02-02 18:35:24 +01:00
GitHub Action
71d7098530 [ci skip] Translation update 2023-01-27 00:25:12 +00:00
GitHub Action
d1ecc418bb [ci skip] Translation update 2023-01-19 00:25:04 +00:00