Migrate LG Soundbar to has entity name (#98773)

This commit is contained in:
Joost Lekkerkerker
2023-08-21 22:29:09 +02:00
committed by GitHub
parent 5a835e703f
commit 53c118f652

View File

@@ -45,6 +45,8 @@ class LGDevice(MediaPlayerEntity):
| MediaPlayerEntityFeature.SELECT_SOURCE
| MediaPlayerEntityFeature.SELECT_SOUND_MODE
)
_attr_has_entity_name = True
_attr_name = None
def __init__(self, host, port, unique_id):
"""Initialize the LG speakers."""