Add unique_id for Ring (#17497)

This commit is contained in:
Daniel Shokouhi authored and Paulus Schoutsen committed 2018-10-16 10:06:00 +02:00
1 parent a9389d2d43
commit dc7e5e3af4
3 files changed
+17

No files matched your search

+5
View File
@@ -97,6 +97,11 @@ class RingCam(Camera):
"""Return the name of this camera."""
return self._name
@property
def unique_id(self):
"""Return a unique ID."""
return self._camera.id
@property
def device_state_attributes(self):
"""Return the state attributes."""