Adjust type hints for CoverEntityFeature (#82238)

This commit is contained in:
epenet 2022-11-17 08:39:44 +01:00 committed by GitHub
parent 6856374f24
commit 17573196c8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 15 additions and 10 deletions

View file

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