Commit Graph

1325 Commits (352014fc957876182be5df055cff5c7647c3ff17)

Author SHA1 Message Date
GitHub Action ed565a6eb1 [ci skip] Translation update 2022-10-09 00:30:44 +00:00
Franck Nijhof 2b27cfdabb
Set system & entity integration types (#79593) 2022-10-04 10:36:42 -04:00
Marc Mueller dbc02707a9
Improve media_player typing (#78666) 2022-09-18 03:08:17 +02:00
epenet 391d895426
Enable disallow-any-generics in media-player (#78498)
Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
2022-09-17 21:23:16 +02:00
epenet 13f250319d
Import websocket api constants from root (#78250) 2022-09-12 22:07:58 -04:00
epenet 9cb8d910ce
Improve media-player typing (#78300)
Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
2022-09-12 23:32:07 +02:00
uvjustin 9b2d17cd00
Escape media_content_id in media player proxy (#77811)
* 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
epenet 5276d849ec
Improve type hints in apple_tv media player (#77940) 2022-09-08 10:46:23 +02:00
epenet 645f5e5ac1
Introduce new MediaPlayerState StrEnum (#77941)
* Adjust media-player checks in pylint plugin

* Adjust media-player definitions

* Adjust cast signatures

* Adjust play_media signature

* Introduce MediaPlayerState

* Fix cast implementations

* Revert cast changes

* Update hass_enforce_type_hints.py

* Use set

Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>

* Fix tests

* Keep unused constants

* Fix test

* Revert tests

Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
2022-09-07 16:30:22 +02:00
epenet 5de95663a9
Introduce new StrEnums in media player (#77872)
* Introduce RepeatMode enum in media player
* Add MediaClass and MediaType
2022-09-06 18:47:34 +02:00
Franck Nijhof 63d71457aa
Type BrowseMedia children as a covariant (#76869) 2022-08-16 16:31:09 +02:00
GitHub Action ff3fd4c29d [ci skip] Translation update 2022-08-16 00:30:51 +00:00
Marc Mueller af002d9dc4
Use TriggerActionType [core, l-m] (#76806) 2022-08-15 17:39:55 +02:00
epenet aadecdf6cb
Add type hints to MediaPlayerEntity (#76743)
* Add media-player checks to pylint plugin

* Fix invalid hints

* Add tests

* Adjust tests

* Add extra test

* Adjust regex

* Cleanup comment

* Revert

* Revert

* Update homeassistant/components/media_player/__init__.py

Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>

* Update homeassistant/components/denonavr/media_player.py

Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>

Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
2022-08-15 00:54:25 +03:00
GitHub Action bec8e544f4 [ci skip] Translation update 2022-08-14 00:25:47 +00:00
GitHub Action 7c81f790a7 [ci skip] Translation update 2022-08-12 00:23:47 +00:00
GitHub Action 519d478d61 [ci skip] Translation update 2022-08-11 00:26:23 +00:00
GitHub Action f11fbf2989 [ci skip] Translation update 2022-08-08 00:22:41 +00:00
GitHub Action 32a2999b85 [ci skip] Translation update 2022-08-06 00:24:46 +00:00
GitHub Action cb46441b74 [ci skip] Translation update 2022-08-05 00:28:51 +00:00
GitHub Action 81e3ef03f7 [ci skip] Translation update 2022-08-02 00:27:42 +00:00
uvjustin d989e4373d
Remove websocket_api send_big_result (#75452) 2022-07-19 21:08:11 -07:00
uvjustin 6b60fb9541
Don't use executor in send_big_result (#75427) 2022-07-19 08:40:23 -05:00
Michel van de Wetering d37ad20894
Fix mediaplayer join service groupmembers definition (#74807) 2022-07-09 22:29:50 +02:00
GitHub Action cdaefc8fda [ci skip] Translation update 2022-07-09 00:20:23 +00:00
Pierre Ståhl de700e7859
Make media_player.toggle turn on a standby device (#74221) 2022-06-30 09:59:46 -07:00
Paulus Schoutsen 99f3ca1f08
Add support for announce to play_media (#72566) 2022-05-30 20:41:05 -07:00
GitHub Action 7a0657c386 [ci skip] Translation update 2022-05-29 00:23:25 +00:00
Paulus Schoutsen 86570fba19
Convert media player enqueue to an enum (#72406) 2022-05-26 13:57:00 -07:00
epenet 3a0e816f1b
Adjust device_automation type hints in core platforms 2/3 (#72210) 2022-05-23 16:02:36 +02:00
GitHub Action ceb8bb4745 [ci skip] Translation update 2022-05-21 00:22:49 +00:00
Franck Nijhof 7d2deae592
Clean up use of deprecated async_get_registry methods (#72001) 2022-05-17 13:40:19 +02:00
GitHub Action 37f81b261d [ci skip] Translation update 2022-05-16 00:24:28 +00:00
GitHub Action 3de7ffde54 [ci skip] Translation update 2022-05-10 00:23:19 +00:00
GitHub Action 07706fa62a [ci skip] Translation update 2022-05-06 00:22:16 +00:00
Paulus Schoutsen 0926470ef0
Skip signing URL that we know requires no auth (#71208) 2022-05-02 19:51:13 +02:00
GitHub Action ba386b5841 [ci skip] Translation update 2022-05-01 00:28:25 +00:00
GitHub Action 348016dbbf [ci skip] Translation update 2022-04-29 00:22:21 +00:00
Erik Montnemery c530bc823b
Support buffering in media_player device conditions (#70863)
Co-authored-by: Franck Nijhof <git@frenck.dev>
2022-04-27 15:40:07 +02:00
Erik Montnemery 13cc7583ed
Support buffering in media_player reproduce state (#70859) 2022-04-27 11:48:00 +02:00
Erik Montnemery e982e315ee
Support buffering in media_player device triggers (#70864) 2022-04-27 11:47:04 +02:00
Franck Nijhof 5345d14d01
Add translation string for buffering media player state (#70856) 2022-04-27 11:05:11 +02:00
Marc Mueller 9b9b553521
Disable no-self-use [pylint] (#70641)
* Disable no-self-use

* Remove disable comments
2022-04-25 07:41:01 -07:00
Shay Levy 1a2a3b5955
Set source & sound mode at start in media player reproduce state (#70064) 2022-04-15 09:14:07 -07:00
Paulus Schoutsen a5134d9ba2
Check supported features in media player reproduce state (#70055) 2022-04-14 12:44:41 -07:00
Paulus Schoutsen f6a3598070
Guard against non http schemes (#69938) 2022-04-12 15:27:20 -07:00
Franck Nijhof bd1d7bdbb7
Exclude more media player attributes from recorder (#69209) 2022-04-03 12:37:13 -06:00
Franck Nijhof 17403f930f
Add EntityFeature enum to Media Player (#69119) 2022-04-02 20:58:23 -07:00
J. Nick Koston 9d82248017
Exclude static and token attributes from being recorded for media_player (#69156) 2022-04-02 20:47:43 -07:00
Franck Nijhof 963d161f72
Update core services files with new selectors (#68810)
Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
2022-03-28 17:17:16 -07:00