Adjust type hints for MediaPlayerEntityFeature (#82258)
This commit is contained in:
parent
569e52c9ac
commit
18e30e7c06
26 changed files with 36 additions and 30 deletions
|
@ -80,7 +80,7 @@ class HomeKitTelevision(HomeKitEntity, MediaPlayerEntity):
|
|||
]
|
||||
|
||||
@property
|
||||
def supported_features(self) -> int:
|
||||
def supported_features(self) -> MediaPlayerEntityFeature | int:
|
||||
"""Flag media player features that are supported."""
|
||||
features = 0
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue