Enforce FanEntityFeature (#82458)
* Enforce FanEntityFeature * Adjust pylint
This commit is contained in:
parent
34607d4410
commit
12cb17620e
7 changed files with 14 additions and 12 deletions
|
@ -1290,7 +1290,7 @@ _INHERITANCE_MATCH: dict[str, list[ClassTypeHintMatch]] = {
|
|||
),
|
||||
TypeHintMatch(
|
||||
function_name="supported_features",
|
||||
return_type=["FanEntityFeature", "int"],
|
||||
return_type="FanEntityFeature",
|
||||
),
|
||||
TypeHintMatch(
|
||||
function_name="set_percentage",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue