Skip to content

Commit

Permalink
Fix unique_id
Browse files Browse the repository at this point in the history
  • Loading branch information
PiotrMachowski authored May 1, 2024
1 parent e0073d3 commit f118736
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions custom_components/smartthings_soundbar/media_player.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ def __init__(self, name, api_key, device_id, max_volume):
def update(self):
SoundbarApi.device_update(self)

@property
def unique_id(self) -> str | None:
return f"SmartThings_Soundbar_{self._device_id}"

Expand Down

0 comments on commit f118736

Please sign in to comment.