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

@ -197,7 +197,7 @@ class LgTVDevice(MediaPlayerEntity):
return self._program_name
@property
def supported_features(self):
def supported_features(self) -> MediaPlayerEntityFeature:
"""Flag media player features that are supported."""
if self._on_action_script:
return SUPPORT_LGTV | MediaPlayerEntityFeature.TURN_ON