Fix enigma2 mute (#121928)
This commit is contained in:
parent
3b95e88ff7
commit
ef7a84d3f4
1 changed files with 2 additions and 1 deletions
|
@ -199,7 +199,8 @@ class Enigma2Device(MediaPlayerEntity):
|
|||
|
||||
async def async_mute_volume(self, mute: bool) -> None:
|
||||
"""Mute or unmute."""
|
||||
await self._device.toggle_mute()
|
||||
if mute != self._device.status.muted:
|
||||
await self._device.toggle_mute()
|
||||
|
||||
async def async_select_source(self, source: str) -> None:
|
||||
"""Select input source."""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue