Enforce CameraEntityFeature (#82325)

This commit is contained in:
epenet
2022-11-22 07:08:28 +01:00
committed by GitHub
parent 7df711f1f3
commit 8b54a0679f
5 changed files with 11 additions and 10 deletions

View File

@@ -803,7 +803,7 @@ _INHERITANCE_MATCH: dict[str, list[ClassTypeHintMatch]] = {
),
TypeHintMatch(
function_name="supported_features",
return_type=["CameraEntityFeature", "int"],
return_type="CameraEntityFeature",
),
TypeHintMatch(
function_name="is_recording",