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