1
0
mirror of https://github.com/home-assistant/core.git synced 2025-08-12 06:50:00 +00:00
Commit Graph

34 Commits

Author SHA1 Message Date
J. Nick Koston
f097e2a2f6 Add support for attribute caching to the media_player platform () 2023-12-23 13:33:11 -10:00
Erik Montnemery
0126cfa9d9 Allow exposing any entity to the default conversation agent ()
* Allow exposing any entity to the default conversation agent

* Tweak

* Fix race, update tests

* Update tests
2023-05-03 09:45:54 -04:00
Franck Nijhof
ed79265843 Enable Ruff PT006 ()
* Enable Ruff PT006

* Adjust existing cases

* Fix tests

* Remove unneeded parentheses
2023-02-15 14:09:50 +01:00
epenet
6c430e03bc Add type hints to integration tests (part 14) () 2023-02-15 10:31:43 +01:00
epenet
f75ac17554 Add type hints to integration tests (j-m) () 2023-02-08 19:06:59 +01:00
epenet
6424c71daa Cleanup supported_features in demo ()
* Cleanup supported_features in demo cover

* Improve other platforms

* Adjust media_player patch
2022-11-17 09:39:46 +01:00
epenet
41d2ac3943 Cleanup MediaClass and MediaType in tests ()
Cleanup MediaClass/MediaType in tests
2022-09-20 17:55:13 +02:00
uvjustin
9b2d17cd00 Escape media_content_id in media player proxy ()
* Escape media_content_id in media player proxy

* Change usage in kodi

* Change usage in roku

* Change usage in sonos

* Add test

* Add comment

* Change path regex instead of double quoting

* Use .+ instead of .*
2022-09-09 13:18:24 +02:00
uvjustin
d989e4373d Remove websocket_api send_big_result () 2022-07-19 21:08:11 -07:00
Paulus Schoutsen
99f3ca1f08 Add support for announce to play_media () 2022-05-30 20:41:05 -07:00
Paulus Schoutsen
86570fba19 Convert media player enqueue to an enum () 2022-05-26 13:57:00 -07:00
Franck Nijhof
17403f930f Add EntityFeature enum to Media Player () 2022-04-02 20:58:23 -07:00
Paulus Schoutsen
459e6c273b Track hidden items in media source () 2022-02-23 09:51:01 +01:00
Erik Montnemery
dccc4eba76 Remove artifacts from black formatting ()
* Remove artifacts from black formatting

* Tweak
2022-01-28 17:00:01 +02:00
Martin Hjelmare
ef1e56dfe1 Fix media player image url password logged () 2022-01-17 23:02:02 -08:00
Franck Nijhof
cf371ea8dd Remove deprecated base entity classes ()
* Remove deprecated base entity classes

* Clean up tests
2021-12-05 13:53:52 +01:00
Tom Schneider
a3dbe8e1e7 Fix media_player grouping while media_player is off ()
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2021-10-27 12:08:19 +02:00
Erik Montnemery
099428fa73 Use hass_client_no_auth test fixture in additional tests () 2021-10-04 13:37:05 +02:00
Franck Nijhof
65cf2fcb6f Drop asynctest () 2021-01-01 22:31:56 +01:00
Chris Talkington
467d79c7fd Add tests for browse media image proxy ()
* add tests for browse media image proxy

* Update test_init.py

* Update __init__.py

* Update __init__.py

* Update __init__.py

* Update __init__.py
2020-11-16 07:49:41 +01:00
jjlawren
6d95ee7a00 Websocket media browsing for Plex ()
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2020-08-24 12:41:01 +02:00
Paulus Schoutsen
2b42d77f58 Fix flaky media player test () 2020-06-01 18:19:12 -05:00
Paulus Schoutsen
276f3afb00 Do async_setup_platform in background ()
Co-authored-by: J. Nick Koston <nick@koston.org>
2020-05-31 22:18:30 -07:00
Paulus Schoutsen
ec47216388 Use built-in test helpers on 3.8 () 2020-04-30 13:29:50 -07:00
Erik Montnemery
62bc02fdda Rename MediaPlayerDevice to MediaPlayerEntity () 2020-04-25 18:00:57 +02:00
Paulus Schoutsen
d885853b35 Make it possible to fetch proxy media player album art () 2020-03-05 11:45:36 -08:00
Bas Nijholt
eb47c2b148 Sort imports according to PEP8 for media_player () 2019-12-09 12:17:41 +01:00
Paulus Schoutsen
4de97abc3a Black 2019-07-31 12:25:30 -07:00
Paulus Schoutsen
de6fdb09f4 Add media player external url ()
* Add media player external url

* Lint

* Simplify

* Update __init__.py

* Update __init__.py

* Use 302
2019-04-24 22:37:29 -07:00
Paulus Schoutsen
22a80cf733 Break up websocket component ()
* Break up websocket component

* Lint
2018-10-01 11:21:00 +02:00
Paulus Schoutsen
15e75b07d8 Allow fetching media player covers via websocket connection ()
Lint
2018-05-03 22:03:26 +02:00
Paulus Schoutsen
e7e540d4bb Clean up and test media player 2016-02-02 00:31:36 -08:00
Ryan Kraus
0624445627 Added tests for toggle service.
1) Added tests to toggle service.
2) Removed color_util import in light tests. It was not being used.
2016-01-17 16:42:18 -05:00
Ryan Kraus
59456f20fb Added tests to universal media player and fixed bug
1) Fixed universal media player to maintain specified child order when
checking for active child.
2) Added many tests to universal media player.
2016-01-12 22:15:22 -08:00