Enforce WaterHeaterEntityFeature (#82467)

This commit is contained in:
epenet
2022-11-22 07:27:09 +01:00
committed by GitHub
parent ab26ea06b9
commit 4134d722da
2 changed files with 3 additions and 3 deletions

View File

@@ -2539,7 +2539,7 @@ _INHERITANCE_MATCH: dict[str, list[ClassTypeHintMatch]] = {
),
TypeHintMatch(
function_name="supported_features",
return_type=["WaterHeaterEntityFeature", "int"],
return_type="WaterHeaterEntityFeature",
),
TypeHintMatch(
function_name="target_temperature",