mirror of
https://github.com/home-assistant/core.git
synced 2025-07-26 22:57:17 +00:00
Fix name of emby media player (#32183)
* Fix name of emby media player * Remove client name from entity_id
This commit is contained in:
parent
ed461a0ad8
commit
58de7fe9a3
@ -190,9 +190,7 @@ class EmbyDevice(MediaPlayerDevice):
|
|||||||
@property
|
@property
|
||||||
def name(self):
|
def name(self):
|
||||||
"""Return the name of the device."""
|
"""Return the name of the device."""
|
||||||
return (
|
return f"Emby {self.device.name}" or DEVICE_DEFAULT_NAME
|
||||||
f"Emby - {self.device.client} - {self.device.name}" or DEVICE_DEFAULT_NAME
|
|
||||||
)
|
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def should_poll(self):
|
def should_poll(self):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user