Fix name of emby media player (#32183)

* Fix name of emby media player

* Remove client name from entity_id
This commit is contained in:
springstan 2020-02-26 02:30:03 +01:00 committed by GitHub
parent ed461a0ad8
commit 58de7fe9a3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -190,9 +190,7 @@ class EmbyDevice(MediaPlayerDevice):
@property
def name(self):
"""Return the name of the device."""
return (
f"Emby - {self.device.client} - {self.device.name}" or DEVICE_DEFAULT_NAME
)
return f"Emby {self.device.name}" or DEVICE_DEFAULT_NAME
@property
def should_poll(self):