1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-24 21:06:19 +00:00

Adjust type hints for MediaPlayerEntityFeature (#82258)

This commit is contained in:
epenet
2022-11-17 13:58:34 +01:00
committed by GitHub
parent 569e52c9ac
commit 18e30e7c06
26 changed files with 36 additions and 30 deletions

View File

@@ -1788,6 +1788,10 @@ _INHERITANCE_MATCH: dict[str, list[ClassTypeHintMatch]] = {
function_name="group_members",
return_type=["list[str]", None],
),
TypeHintMatch(
function_name="supported_features",
return_type=["MediaPlayerEntityFeature", "int"],
),
TypeHintMatch(
function_name="turn_on",
return_type=None,