mirror of
https://github.com/home-assistant/core.git
synced 2025-07-10 06:47:09 +00:00
Fix enigma2 mute (#121928)
This commit is contained in:
parent
3b95e88ff7
commit
ef7a84d3f4
@ -199,6 +199,7 @@ class Enigma2Device(MediaPlayerEntity):
|
||||
|
||||
async def async_mute_volume(self, mute: bool) -> None:
|
||||
"""Mute or unmute."""
|
||||
if mute != self._device.status.muted:
|
||||
await self._device.toggle_mute()
|
||||
|
||||
async def async_select_source(self, source: str) -> None:
|
||||
|
Loading…
x
Reference in New Issue
Block a user