Adjust type hints for MediaPlayerEntityFeature (#82258)

This commit is contained in:
epenet 2022-11-17 13:58:34 +01:00 committed by GitHub
parent 569e52c9ac
commit 18e30e7c06
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
26 changed files with 36 additions and 30 deletions

View file

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