fix unique_id for Tellduslive sensors (#19389)

pull/19373/head
Fredrik Erlandsson 2018-12-17 20:33:01 +01:00 committed by Paulus Schoutsen
parent c7ea1d07be
commit 40d8bd43a1
1 changed files with 1 additions and 1 deletions

View File

@ -146,4 +146,4 @@ class TelldusLiveSensor(TelldusLiveEntity):
@property
def unique_id(self) -> str:
"""Return a unique ID."""
return "-".join(self._id[0:2])
return "-".join(map(str, self._id))