Fix implicit use of device name in Slimproto (#96081)

This commit is contained in:
Franck Nijhof
2023-07-07 16:19:29 +02:00
committed by GitHub
parent 8138c85074
commit 529846d3a2

View File

@@ -90,6 +90,7 @@ class SlimProtoPlayer(MediaPlayerEntity):
| MediaPlayerEntityFeature.BROWSE_MEDIA
)
_attr_device_class = MediaPlayerDeviceClass.SPEAKER
_attr_name = None
def __init__(self, slimserver: SlimServer, player: SlimClient) -> None:
"""Initialize MediaPlayer entity."""