mirror of
https://github.com/home-assistant/core.git
synced 2025-08-03 12:45:28 +02:00
Remove media player shuffle check from Cambridge Audio (#129235)
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
This commit is contained in:
@@ -177,12 +177,9 @@ class CambridgeAudioDevice(CambridgeAudioEntity, MediaPlayerEntity):
|
||||
return volume / 100
|
||||
|
||||
@property
|
||||
def shuffle(self) -> bool | None:
|
||||
def shuffle(self) -> bool:
|
||||
"""Current shuffle configuration."""
|
||||
mode_shuffle = self.client.play_state.mode_shuffle
|
||||
if not mode_shuffle:
|
||||
return False
|
||||
return mode_shuffle != ShuffleMode.OFF
|
||||
return self.client.play_state.mode_shuffle != ShuffleMode.OFF
|
||||
|
||||
@property
|
||||
def repeat(self) -> RepeatMode | None:
|
||||
|
Reference in New Issue
Block a user