Commit Graph

552 Commits

Author SHA1 Message Date
epenet
cff7aa229e Add missing type hint in plex (#145217) 2025-05-19 19:18:22 +02:00
Paul Bottein
2be6ecd50f Assign plex update entity to server device (#143654)
* Assign plex update entity to server device

* Fix tests

* Apply suggestions from code review

---------

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2025-04-25 11:21:14 +02:00
Norbert Rittel
f42f698dbc Fix missing sentence-casing in a few plex strings (#142720) 2025-04-11 16:38:07 +03:00
Erik Montnemery
86622cd29d Remove unnecessary imports of http integration (#141899)
* Remove unnecessary imports of http integration

* Check reason for test failures

* Revert "Check reason for test failures"

This reverts commit 5ccf356ab0.

* Update tests
2025-03-31 11:30:20 +01:00
Erik Montnemery
f83c8de8d3 Update signature of platforms' async_setup_entry (#138201) 2025-02-10 21:08:03 +01:00
epenet
ebda2f9994 Standardize homeassistant imports in component (n-p) (#136830) 2025-01-29 12:23:49 +01:00
Joost Lekkerkerker
c651e2b3c3 Enable RUF101 (#135835) 2025-01-17 13:01:07 +01:00
Philip Baylas
fce6d6246f Change log level of connection failure to info (#132625)
Co-authored-by: Franck Nijhof <git@frenck.dev>
2024-12-18 15:07:03 +01:00
epenet
03d5b18974 Remove options property from OptionFlow (#129890)
* Remove options property from OptionFlow

* Update test_config_entries.py

* Partial revert of "Remove deprecated property setters in option flows (#129773)"

* Partial revert "Use new helper properties in crownstone options flow (#129774)"

* Restore onewire init

* Restore onvif

* Restore roborock

* Use deepcopy in onewire

* Restore steam_online

* Restore initial options property in OptionsFlowWithConfigEntry

* re-add options property in SchemaOptionsFlowHandler

* Restore test

* Cleanup
2024-11-06 23:28:01 +01:00
epenet
6d561a9796 Remove deprecated property setters in option flows (#129773) 2024-11-04 14:21:26 +01:00
J. Nick Koston
c9311ea3c9 Bump yarl to 1.14.0 (#127924) 2024-10-08 14:01:37 +02:00
Ian
aa8c4a6eb7 Add ability to play plex media as the non-primary user (#122039)
* Adds ability to play media as the non-primary user

* Add return type for set function
2024-09-08 15:42:26 +02:00
epenet
19cbc1b258 Improve type hints in plex config flow (#124914) 2024-08-30 11:22:07 +02:00
Erik Montnemery
1a2d013c97 Update icons.json to new service schema part 3 (#124770) 2024-08-28 13:48:01 +02:00
jjlawren
22c322fc37 Bump plexapi to 4.15.16 (#124512) 2024-08-24 07:01:25 +02:00
epenet
47beddc6c6 Improve config flow type hints (part 4) (#124348) 2024-08-21 22:43:42 +02:00
amccook
fef9c92eb7 Fix handling of directory type playlists in Plex (#122990)
Ignore type directory
2024-08-01 10:24:09 -04:00
jjlawren
b5f1076bb2 Bump plexapi to 4.15.14 (#120832) 2024-06-29 11:10:35 -05:00
jjlawren
b8c5dcaeef Bump PlexAPI to 4.15.13 (#117712) 2024-05-19 11:36:25 +02:00
Marc Mueller
c41962455e Use PEP 695 for decorator typing (2) (#117639) 2024-05-17 16:31:01 +02:00
Sid
2cc916db6d Replace pylint broad-except with Ruff BLE001 (#116250) 2024-05-07 14:00:27 +02:00
Sid
b456d97e65 Replace pylint protected-access with Ruff SLF001 (#115735) 2024-05-06 20:33:26 +02:00
jjlawren
e3ce3ed6fd Bump plexapi to 4.15.12 (#115872) 2024-04-20 12:36:03 +02:00
jjlawren
94060b1566 Bump plexapi to 4.15.11 (#114581) 2024-04-01 19:28:39 +02:00
J. Nick Koston
61982acb17 Cleanup some plex tasks that delayed startup (#114418) 2024-03-28 20:36:33 -10:00
Sid
a5b609f081 Enable ruff TRY401 (#114395)
* Enable ruff TRY401

* fix tests
2024-03-29 07:20:36 +01:00
Joost Lekkerkerker
6bb4e7d62c Bump ruff to 0.3.4 (#112690)
Co-authored-by: Sid <27780930+autinerd@users.noreply.github.com>
Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
Co-authored-by: J. Nick Koston <nick@koston.org>
2024-03-26 00:02:16 +01:00
Joost Lekkerkerker
9f19e7339d Improve lists in integrations [P-Q] (#113236) 2024-03-13 17:30:30 +01:00
jjlawren
e5ba4dbde9 Properly mark Plex update sensor when current (#113197) 2024-03-12 18:06:33 -10:00
Marc Mueller
2c06d4fcb9 Add empty line after module docstring (2) [components] (#112736) 2024-03-08 19:15:59 +01:00
Paulus Schoutsen
f416d67d21 Remove built-in support for import_executor in manifest (#112725) 2024-03-08 12:02:32 -05:00
Marc Mueller
988c71ecc5 Add empty line after module docstring [n-q] (#112702) 2024-03-08 15:04:07 +01:00
Marc Mueller
8ca127df2a Use KEY_HASS [h-z] (#112610) 2024-03-07 18:03:44 +01:00
Joost Lekkerkerker
1feeeb8608 Add icon translations to Plex (#112182) 2024-03-05 09:20:00 +01:00
Erik Montnemery
e0c1feb22c Migrate integrations n-r to generic flowhandler (#111864) 2024-02-29 20:09:01 +01:00
J. Nick Koston
104884056f Import plex in the executor to avoid blocking the event loop (#111743)
`Importing platform plex.config_flow took 0.54s (loaded_executor=False)`
2024-02-28 14:02:34 -05:00
jjlawren
8d4569ff55 Bump plexapi to 4.15.10 (#111180) 2024-02-23 07:03:07 +01:00
jjlawren
a5bd0292da Bump plexapi to 4.15.9 (#109676) 2024-02-05 08:52:37 +01:00
jjlawren
43384effcd Bump plexapi to 4.15.7 (#106576) 2023-12-28 19:36:57 +01:00
Ville Skyttä
24b1e01d71 Update Ruff to 0.1.8, avoid linter/formatter conflicts (#106080)
* Disable Ruff rules that may conflict with the formatter

* Upgrade Ruff to 0.1.8

- https://github.com/astral-sh/ruff/releases/tag/v0.1.7
- https://github.com/astral-sh/ruff/releases/tag/v0.1.8

* Format with Ruff 0.1.8
2023-12-20 23:55:09 +01:00
Joost Lekkerkerker
ef5d9d7377 Partly migrate Plex to has entity name (#98841)
* Partly migrate Plex to has entity name

* Use friendly name for device name

* Lowercase
2023-12-15 08:56:26 +01:00
jjlawren
ecc49e61f6 Bump plexapi to 4.15.6 (#104949) 2023-12-03 21:05:30 +01:00
jjlawren
c66f0e3305 Fix Plex update module docstring (#101815) 2023-10-11 15:05:34 +02:00
jjlawren
f116e83b62 Add update entity for Plex Media Server (#101682) 2023-10-11 13:06:10 +02:00
jjlawren
c247170c90 Bump plexwebsocket to 0.0.14 (#101684) 2023-10-09 08:32:47 +02:00
jjlawren
db71e8033c Bump plexapi to 4.15.4 (#101381) 2023-10-04 23:32:02 +02:00
jjlawren
a1d632c5d1 Bump plexapi to 4.15.3 (#101088)
* Bump plexapi to 4.15.3

* Update tests for updated account endpoint

* Update tests for updated resources endpoint

* Switch to non-web client fixture

* Set __qualname__ attribute for new library behavior
2023-09-29 23:04:00 -04:00
Joost Lekkerkerker
40a3d97230 Use shorthand attributes in Plex (#99769)
Co-authored-by: Robert Resch <robert@resch.dev>
2023-09-07 13:55:16 +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
Franck Nijhof
86708b5590 Update ruff to v0.0.280 (#97102) 2023-07-23 22:00:26 +02:00