Adjust type hints for AlarmControlPanelEntityFeature (#82186)

This commit is contained in:
epenet 2022-11-16 17:08:42 +01:00 committed by GitHub
parent 1f0691bf18
commit f952b74b74
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 5 additions and 5 deletions

View file

@ -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