Skip to content

Commit

Permalink
Move SELECT_SOURCE capability to the decoder where it belongs
Browse files Browse the repository at this point in the history
  • Loading branch information
Jalle19 committed Sep 9, 2024
1 parent 711701a commit ec8f323
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions custom_components/vinx/media_player.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,11 +57,11 @@ def name(self):


class VinxEncoder(AbstractVinxDevice):
pass


class VinxDecoder(AbstractVinxDevice):
def __init__(self, lw3: LW3, device_information: DeviceInformation) -> None:
super().__init__(lw3, device_information)

_attr_supported_features = MediaPlayerEntityFeature.SELECT_SOURCE


class VinxDecoder(AbstractVinxDevice):
pass

0 comments on commit ec8f323

Please sign in to comment.