mirror of
https://github.com/home-assistant/core.git
synced 2025-07-15 09:17:10 +00:00
Use speaker-multiple icon for NAD receiver (#34572)
By default media players get a chrome cast icon, which feels quite wrong for my old style amplifier that doesn't have any connection to the rest of the word, except for a RS232 port.
This commit is contained in:
parent
3dfeec5033
commit
15539536ad
@ -129,6 +129,11 @@ class NAD(MediaPlayerEntity):
|
|||||||
"""Return the state of the device."""
|
"""Return the state of the device."""
|
||||||
return self._state
|
return self._state
|
||||||
|
|
||||||
|
@property
|
||||||
|
def icon(self):
|
||||||
|
"""Return the icon for the device."""
|
||||||
|
return "mdi:speaker-multiple"
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def volume_level(self):
|
def volume_level(self):
|
||||||
"""Volume level of the media player (0..1)."""
|
"""Volume level of the media player (0..1)."""
|
||||||
|
Loading…
x
Reference in New Issue
Block a user