Commit Graph
21 Commits
Author SHA1 Message Date
6bb4e7d62c Bump ruff to 0.3.4 (#112690)
Co-authored-by: Sid <[email protected]>
Co-authored-by: Marc Mueller <[email protected]>
Co-authored-by: J. Nick Koston <[email protected]>
2024-03-26 00:02:16 +01:00
Marc MuellerandGitHub 1722e23df8 Add empty line after module docstring [tests l-p] (#112710) 2024-03-08 14:55:15 +01:00
jjlawrenandGitHub 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
12129e9d21 Update service call return values and error handling (#94657)
* Update return signature of service calls

* Add timeout error handling in websocket api for service calls

* Update recorder tests to remove assertion on service call

* Remove timeout behavior and update callers that depend on it today

* Fix tests

* Add missing else

* await coro directly

* Fix more tests

* Update the intent task to use wait instead of timeout

* Remove script service call limits and limit constants

* Update tests that depend on service call limits

* Use wait instead of wait_for and add test

* Update homeassistant/helpers/intent.py

Co-authored-by: Martin Hjelmare <[email protected]>

---------

Co-authored-by: Paulus Schoutsen <[email protected]>
Co-authored-by: Martin Hjelmare <[email protected]>
2023-06-16 07:01:40 -07:00
epenetandGitHub 2cdc741900 Add type hints to integration tests (part 17) (#88163) 2023-02-15 11:14:04 +01:00
Franck NijhofandGitHub a79885ceaf Enable Ruff SIM117 (#86783) 2023-01-27 11:52:49 +01:00
epenetandGitHub 41d2ac3943 Cleanup MediaClass and MediaType in tests (#78817)
Cleanup MediaClass/MediaType in tests
2022-09-20 17:55:13 +02:00
jjlawrenandGitHub 112d232c2e Autoresume in-progress items from Plex media browser (#68494) 2022-03-29 11:08:26 +02:00
jjlawrenandGitHub 653305b998 Support multiple Plex servers in media browser (#68321) 2022-03-21 15:48:44 -07:00
jjlawrenandGitHub b34da1294c Improve Plex media search failure feedback (#67493) 2022-03-17 13:57:22 -07:00
jjlawrenandGitHub 0600a21e02 Allow advanced Plex play_media search options (#56226) 2021-10-24 11:22:16 -10:00
Ville SkyttäandGitHub 380cff167e Use HTTPStatus in components/[nop]* (#58279) 2021-10-23 20:56:30 +02:00
jjlawrenandGitHub 411cc6542c Move Plex->Sonos playback to built-in service (#45066)
* Move Plex->Sonos playback service from integration to platform

* Test against 'native' Plex media_players

* Add Plex to Sonos after_dependencies

* Remove circular dependency

* Raise exceptions in failed service calls

* Add test to forward service call from Sonos

* Additional Sonos->Plex tests

* Fix docstring
2021-01-13 15:24:44 +01:00
jjlawrenandGitHub 0426b211f6 Rewrite Plex tests to use mocked payloads (#44044) 2021-01-07 19:56:52 +01:00
Franck NijhofandGitHub 65cf2fcb6f Drop asynctest (#44746) 2021-01-01 22:31:56 +01:00
jjlawrenandGitHub e6e4c9cf59 Allow Cast to play Plex media (#41869)
* Allow Cast to play Plex media

* Add Plex to after_dependencies, add missing constant

* Extract function from Sonos service to allow media lookups

* Move to non-async method

* Check if media_id exists

* Add test to make codecov happy
2020-10-19 16:34:22 -05:00
jjlawrenandGitHub df9634a41f Refactor Plex tests using fixtures (#40260)
* Refactor Plex tests using fixtures

* Avoid unnecessary coroutine declaration
2020-09-22 22:14:41 -05:00
jjlawrenandGitHub 67312e2d42 Fix lookup by Plex media key when playing on Sonos (#38119) 2020-08-03 12:40:48 +02:00
jjlawrenandGitHub a7dfa60208 Fix Sonos speaker lookup for Plex (#37942) 2020-07-17 18:18:53 -07:00
jjlawrenandGitHub fd1a8dd96c Fix Plex when using local tokenless authentication (#37096) 2020-06-25 17:10:40 -07:00
4e74fae615 Playback on Sonos speakers from Plex integration (#36177)
Co-authored-by: Paulus Schoutsen <[email protected]>
2020-05-27 15:36:08 -07:00