Enforce CoverEntityFeature (#82457)

* Enforce CoverEntityFeature

* Adjust pylint
This commit is contained in:
epenet
2022-11-22 07:09:19 +01:00
committed by GitHub
parent 48cc3071bb
commit 34607d4410
11 changed files with 17 additions and 17 deletions

View File

@@ -1110,7 +1110,7 @@ _INHERITANCE_MATCH: dict[str, list[ClassTypeHintMatch]] = {
),
TypeHintMatch(
function_name="supported_features",
return_type=["CoverEntityFeature", "int"],
return_type="CoverEntityFeature",
),
TypeHintMatch(
function_name="open_cover",