Adjust type hints for FanEntityFeature (#82241)

* Adjust type hints for FanEntityFeature

* Adjust template default
This commit is contained in:
epenet 2022-11-17 10:30:39 +01:00 committed by GitHub
parent 3d00923665
commit 1b80c66195
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 18 additions and 20 deletions

View file

@ -95,7 +95,7 @@ class BaseHomeKitFan(HomeKitEntity, FanEntity):
return oscillating == 1
@property
def supported_features(self) -> int:
def supported_features(self) -> FanEntityFeature | int:
"""Flag supported features."""
features = 0