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