From f1187365153a08f9b99d02b877259a494273005d Mon Sep 17 00:00:00 2001 From: Piotr Machowski <6118709+PiotrMachowski@users.noreply.github.com> Date: Wed, 1 May 2024 12:31:17 +0200 Subject: [PATCH] Fix unique_id --- custom_components/smartthings_soundbar/media_player.py | 1 + 1 file changed, 1 insertion(+) diff --git a/custom_components/smartthings_soundbar/media_player.py b/custom_components/smartthings_soundbar/media_player.py index 05b2a7a..19707f3 100644 --- a/custom_components/smartthings_soundbar/media_player.py +++ b/custom_components/smartthings_soundbar/media_player.py @@ -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}"