mirror of
https://github.com/home-assistant/core.git
synced 2025-07-22 12:47:08 +00:00
Replace MediaPlayerState.STANDBY with MediaPlayerState.OFF in snapcast (#148138)
This commit is contained in:
parent
811f085556
commit
dc20375506
@ -343,7 +343,7 @@ class SnapcastClientDevice(SnapcastBaseDevice):
|
||||
if self.is_volume_muted or self._current_group.muted:
|
||||
return MediaPlayerState.IDLE
|
||||
return STREAM_STATUS.get(self._current_group.stream_status)
|
||||
return MediaPlayerState.STANDBY
|
||||
return MediaPlayerState.OFF
|
||||
|
||||
@property
|
||||
def extra_state_attributes(self) -> Mapping[str, Any]:
|
||||
|
Loading…
x
Reference in New Issue
Block a user