Adjust type hints for FanEntityFeature (#82241)
* Adjust type hints for FanEntityFeature * Adjust template default
This commit is contained in:
parent
3d00923665
commit
1b80c66195
8 changed files with 18 additions and 20 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue