Adjust type hints for AlarmControlPanelEntityFeature (#82186)
This commit is contained in:
parent
1f0691bf18
commit
f952b74b74
4 changed files with 5 additions and 5 deletions
|
@ -243,7 +243,7 @@ class MqttAlarm(MqttEntity, alarm.AlarmControlPanelEntity):
|
|||
return self._state
|
||||
|
||||
@property
|
||||
def supported_features(self) -> int:
|
||||
def supported_features(self) -> AlarmControlPanelEntityFeature:
|
||||
"""Return the list of supported features."""
|
||||
return (
|
||||
AlarmControlPanelEntityFeature.ARM_HOME
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue