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:
epenet
2023-03-25 05:49:12 +01:00
committed by GitHub
parent 5f3868b141
commit f56bf134d2
24 changed files with 56 additions and 24 deletions

View File

@@ -2003,7 +2003,7 @@ _INHERITANCE_MATCH: dict[str, list[ClassTypeHintMatch]] = {
TypeHintMatch(
function_name="async_browse_media",
arg_types={
1: "str | None",
1: "MediaType | str | None",
2: "str | None",
},
return_type="BrowseMedia",