Skip to content

Commit

Permalink
Merge pull request #7 from dbuezas/patch-1
Browse files Browse the repository at this point in the history
Use name as unique_id to fix media bar
  • Loading branch information
definitio committed Jun 18, 2023
2 parents 3fa1460 + 31415d2 commit 5e3c391
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions custom_components/sox/media_player.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5e3c391

Please sign in to comment.