Adjust type hints for CoverEntityFeature (#82238)
This commit is contained in:
parent
6856374f24
commit
17573196c8
10 changed files with 15 additions and 10 deletions
|
@ -309,7 +309,7 @@ class CoverTemplate(TemplateEntity, CoverEntity):
|
|||
return self._device_class
|
||||
|
||||
@property
|
||||
def supported_features(self) -> int:
|
||||
def supported_features(self) -> CoverEntityFeature:
|
||||
"""Flag supported features."""
|
||||
supported_features = CoverEntityFeature.OPEN | CoverEntityFeature.CLOSE
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue