diff --git a/custom_components/youtube/sensor.py b/custom_components/youtube/sensor.py index 287ec4f..c38e03d 100644 --- a/custom_components/youtube/sensor.py +++ b/custom_components/youtube/sensor.py @@ -114,6 +114,11 @@ def state(self): """State.""" return self._state + @property + def unique_id(self): + """Return unique ID for this sensor.""" + return self.channel_id + @property def icon(self): """Icon."""