mirror of
https://github.com/home-assistant/core.git
synced 2025-04-24 09:17:53 +00:00
Added unique id to all Wink devices. (#18589)
This commit is contained in:
parent
57f7e7eedc
commit
b3e37af9b1
@ -687,6 +687,11 @@ class WinkDevice(Entity):
|
||||
"""Return the name of the device."""
|
||||
return self.wink.name()
|
||||
|
||||
@property
|
||||
def unique_id(self):
|
||||
"""Return the unique id of the Wink device."""
|
||||
return self.wink.object_id()
|
||||
|
||||
@property
|
||||
def available(self):
|
||||
"""Return true if connection == True."""
|
||||
|
Loading…
x
Reference in New Issue
Block a user