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

Enforce AlarmControlPanelEntityFeature (#82313)

This commit is contained in:
epenet
2022-11-21 22:58:36 +01:00
committed by GitHub
parent b3dd59f202
commit cec81e137c
3 changed files with 7 additions and 5 deletions

View File

@@ -661,7 +661,7 @@ _INHERITANCE_MATCH: dict[str, list[ClassTypeHintMatch]] = {
),
TypeHintMatch(
function_name="supported_features",
return_type=["AlarmControlPanelEntityFeature", "int"],
return_type="AlarmControlPanelEntityFeature",
),
TypeHintMatch(
function_name="alarm_disarm",