mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 21:27:38 +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 the name of the device."""
|
||||||
return self.wink.name()
|
return self.wink.name()
|
||||||
|
|
||||||
|
@property
|
||||||
|
def unique_id(self):
|
||||||
|
"""Return the unique id of the Wink device."""
|
||||||
|
return self.wink.object_id()
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def available(self):
|
def available(self):
|
||||||
"""Return true if connection == True."""
|
"""Return true if connection == True."""
|
||||||
|
Loading…
x
Reference in New Issue
Block a user