Enforce MediaPlayerEntityFeature (#82462)

This commit is contained in:
epenet
2022-11-22 07:15:37 +01:00
committed by GitHub
parent a225fc456f
commit 6f05a74686
11 changed files with 26 additions and 24 deletions

View File

@@ -1790,7 +1790,7 @@ _INHERITANCE_MATCH: dict[str, list[ClassTypeHintMatch]] = {
),
TypeHintMatch(
function_name="supported_features",
return_type=["MediaPlayerEntityFeature", "int"],
return_type="MediaPlayerEntityFeature",
),
TypeHintMatch(
function_name="turn_on",