Improve browse_media type hints in media player (#90060)
* Improve browse_media type hints in media player * Adjust components * Adjust base entity
This commit is contained in:
parent
5f3868b141
commit
f56bf134d2
24 changed files with 56 additions and 24 deletions
|
@ -391,7 +391,9 @@ class PhilipsTVMediaPlayer(
|
|||
)
|
||||
|
||||
async def async_browse_media(
|
||||
self, media_content_type: str | None = None, media_content_id: str | None = None
|
||||
self,
|
||||
media_content_type: MediaType | str | None = None,
|
||||
media_content_id: str | None = None,
|
||||
) -> BrowseMedia:
|
||||
"""Implement the websocket media browsing helper."""
|
||||
if not self._tv.on:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue