Erik Montnemery
acdddabe1f
Use hass_client_no_auth test fixture in integrations h-p ( #55583 )
2021-09-02 14:49:40 +02:00
jjlawren
d5fe7e0e5a
Fallback to try all known Plex servers if none marked present ( #53643 )
2021-08-24 12:05:24 +02:00
jjlawren
225732d00e
Remove I/O in Plex tests ( #53196 )
2021-07-19 18:50:04 +02:00
jjlawren
f39f087b10
More graceful exception handling in Plex library sensors ( #52969 )
2021-07-13 20:22:31 +02:00
jjlawren
d4ac5bf048
Bump plexapi to 4.6.1 ( #51936 )
2021-06-17 09:02:23 +02:00
Ville Skyttä
19d25cd901
Change config entry state to an enum ( #49654 )
...
* Change config entry state to an enum
* Allow but deprecate EntryState str equality comparison
* Test fixes
* Rename to ConfigEntryState
* Remove str comparability backcompat
* Update new occurrences of strs cropped up during review
2021-05-20 19:19:20 +02:00
jjlawren
37e8571fe8
Use header URI in Plex config flow ( #49915 )
2021-04-30 23:15:59 +02:00
jjlawren
8c311cbaa0
Handle special Plex library sections ( #49525 )
2021-04-28 19:58:05 +02:00
Ville Skyttä
153d6e891e
Use config_entries.SOURCE_* constants ( #49631 )
2021-04-25 11:27:40 +02:00
jjlawren
be71d626c8
Improve Plex device handling ( #48369 )
2021-03-31 09:37:16 -07:00
jjlawren
d62297a28b
Add Plex library count sensors ( #48339 )
2021-03-31 13:57:16 +02:00
jjlawren
e42ca35c94
Bump plexwebsocket to 0.0.13 ( #48330 )
2021-03-25 19:12:12 +01:00
jjlawren
195d4de6cd
Bump plexapi to 4.5.0 ( #48264 )
2021-03-23 22:47:00 +01:00
jjlawren
2f1dba74d1
Use Plex server URL as config entry title ( #47010 )
2021-02-24 20:57:02 +01:00
jjlawren
425d56d024
Fix Plex showing removed shared users ( #46971 )
2021-02-23 23:36:46 +01:00
Paulus Schoutsen
9e07910ab0
Mark entities as unavailable when they are removed but are still registered ( #45528 )
...
* Mark entities as unavailable when they are removed but are still registered
* Add sync_entity_lifecycle to collection helper
* Remove debug print
* Lint
* Fix tests
* Fix tests
* Update zha
* Update zone
* Fix tests
* Update hyperion
* Update rfxtrx
* Fix tests
* Pass force_remove=True from integrations
Co-authored-by: Erik <erik@montnemery.com>
2021-02-08 10:45:46 +01:00
jjlawren
d7e0391e03
Allow Plex playback using provided playqueue ID ( #45580 )
2021-01-28 17:21:31 +01:00
jjlawren
1f66457a34
Separate Plex/Sonos cross-integration tests ( #45370 )
2021-01-21 11:22:19 +01:00
jjlawren
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
jjlawren
0426b211f6
Rewrite Plex tests to use mocked payloads ( #44044 )
2021-01-07 19:56:52 +01:00
Ville Skyttä
43474762b2
Drop remaining Python < 3.8 support ( #44743 )
...
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-01-04 11:47:29 +01:00
Franck Nijhof
65cf2fcb6f
Drop asynctest ( #44746 )
2021-01-01 22:31:56 +01:00
jjlawren
f2f935506e
Use Plex websocket payloads to reduce overhead ( #42332 )
...
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2020-12-02 19:00:13 +01:00
jjlawren
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
jjlawren
c63c253b7f
Discover Plex clients using GDM ( #39053 )
2020-10-14 15:46:52 +02:00
jjlawren
be9ff3bd66
Accept new Plex websocket callback payloads ( #40773 )
2020-10-01 09:57:45 +02:00
jjlawren
3596eb39f2
Add support to reauthorize expired Plex tokens ( #40469 )
2020-09-28 16:14:54 +02:00
jjlawren
df9634a41f
Refactor Plex tests using fixtures ( #40260 )
...
* Refactor Plex tests using fixtures
* Avoid unnecessary coroutine declaration
2020-09-22 22:14:41 -05:00
Martin Hjelmare
e96fed20c8
Add children media class ( #39902 )
...
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2020-09-11 13:08:13 +02:00
jjlawren
dd7f282723
Add new Plex movie lookup method for media_player.play_media ( #39584 )
2020-09-04 11:32:36 +02:00
jjlawren
aecd74c6af
Add service to scan for new Plex clients ( #39074 )
2020-09-03 09:35:37 +02:00
jjlawren
d66bc6a873
Add Recently Added and On Deck to Plex media browser ( #39232 )
2020-09-03 09:26:30 +02:00
jjlawren
cb1cf2238d
Add Plex service to refresh a library ( #39094 )
...
* Add Plex service to refresh a library
* Clean up rebase leftovers
* Re-run black
* Fix docstring
Co-authored-by: Charles Garwood <cgarwood@newdealmultimedia.com>
Co-authored-by: Charles Garwood <cgarwood@newdealmultimedia.com>
2020-09-02 13:56:41 -05:00
Franck Nijhof
1c2ebdf307
Upgrade black to 20.8b1 ( #39287 )
2020-08-27 13:56:20 +02:00
jjlawren
1bc4de2bd3
Add tests for Plex media browser ( #39220 )
2020-08-26 23:24:44 +02:00
jjlawren
67312e2d42
Fix lookup by Plex media key when playing on Sonos ( #38119 )
2020-08-03 12:40:48 +02:00
jjlawren
1d987b4846
Ignore remote Plex clients during plex.tv lookup ( #38327 )
2020-07-29 20:56:32 +02:00
jjlawren
a7dfa60208
Fix Sonos speaker lookup for Plex ( #37942 )
2020-07-17 18:18:53 -07:00
jjlawren
7128092139
Fix missing Plex account mocks in tests ( #37591 )
2020-07-06 22:58:43 -07:00
J. Nick Koston
bea3d841d2
Mock setup in plex test to prevent CI failure ( #37590 )
2020-07-06 17:25:22 -07:00
jjlawren
ba356c41e0
Fix Plex client controls when connected via plex.tv resource ( #37572 )
2020-07-06 15:16:41 -07:00
jjlawren
ec13eecc59
Update Plex tests to mock websockets ( #37147 )
...
* Update Plex tests to mock websockets
* Avoid unnecessary class mock
2020-06-27 10:03:51 +02:00
jjlawren
40573bf393
Plex tests cleanup and additions ( #37117 )
2020-06-25 23:24:58 -07:00
jjlawren
fd1a8dd96c
Fix Plex when using local tokenless authentication ( #37096 )
2020-06-25 17:10:40 -07:00
jjlawren
d445c16697
Handle Plex Live TV sessions ( #36919 )
2020-06-19 17:12:47 +02:00
jjlawren
d5cc3208af
Discover controllable Plex clients using plex.tv ( #36857 )
2020-06-17 12:04:47 -07:00
jjlawren
d4d233536f
Fix missing options in Plex config entry ( #36683 )
2020-06-11 15:45:00 -07:00
jjlawren
9aac8482d5
Remove deprecated Plex YAML config ( #36388 )
2020-06-03 09:20:21 -07:00
jjlawren
44d7169642
Fix flaky Plex test ( #36391 )
2020-06-02 17:37:10 -05:00
Quentame
1855c91988
Use CONF_CLIENT_ID & CONF_CLIENT_SECRET from homeassistant.const ( #36233 )
...
* Use CONF_CLIENT_ID & CONF_CLIENT_SECRET from homeassistant.const
* Fix pylint
* Use in tests
* Search for "client_id"
* Fix tests
* Fix test
* Fix test
2020-05-30 17:27:20 +02:00