Enforce CoverEntityFeature (#82457)
* Enforce CoverEntityFeature * Adjust pylint
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user