1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-24 12:59:34 +00:00

Adjust type hints for VacuumEntityFeature (#82269)

This commit is contained in:
epenet
2022-11-17 15:31:09 +01:00
committed by GitHub
parent 3be750812d
commit ced16da576
3 changed files with 6 additions and 3 deletions

View File

@@ -2394,6 +2394,10 @@ _INHERITANCE_MATCH: dict[str, list[ClassTypeHintMatch]] = {
function_name="fan_speed_list",
return_type="list[str]",
),
TypeHintMatch(
function_name="supported_features",
return_type=["VacuumEntityFeature", "int"],
),
TypeHintMatch(
function_name="stop",
kwargs_type="Any",