Fix int value in unique_id for Tellduslive (#127526)

Fix int in unique_id
This commit is contained in:
robinostlund 2024-10-04 12:02:33 +02:00 committed by GitHub
parent f1b6ae8784
commit 64ea02983b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -194,4 +194,4 @@ class TelldusLiveSensor(TelldusLiveEntity, SensorEntity):
@property @property
def unique_id(self) -> str: def unique_id(self) -> str:
"""Return a unique ID.""" """Return a unique ID."""
return "-".join(self._id) return "-".join(map(str, self._id))