Skip to content

Commit

Permalink
Use name as unique_id to fix media bar
Browse files Browse the repository at this point in the history
  • Loading branch information
dbuezas committed Jun 17, 2023
1 parent 3fa1460 commit 31415d2
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 31415d2

Please sign in to comment.