diff --git a/custom_components/sox/media_player.py b/custom_components/sox/media_player.py index 458c802..c27595d 100644 --- a/custom_components/sox/media_player.py +++ b/custom_components/sox/media_player.py @@ -58,6 +58,7 @@ def __init__(self, hass, host, port, name): self._host = host self._port = port self._name = name + self._attr_unique_id = name self._is_connected = None self._is_playing = False