Enforce LightEntityFeature (#82460)

This commit is contained in:
epenet
2022-11-22 07:14:47 +01:00
committed by GitHub
parent d4bd9a0f7e
commit 7f1e1ed1d8
15 changed files with 27 additions and 28 deletions

View File

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