Add unique_id for Ring (#17497)
This commit is contained in:
1 parent
a9389d2d43
commit
dc7e5e3af4
3 files changed
+17
No files matched your search
@@ -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."""
|
||||
|
||||
Reference in new issue
Block a user