mirror of
https://github.com/home-assistant/core.git
synced 2025-08-09 23:55:07 +02:00
Added unique id to all Wink devices. (#18589)
This commit is contained in:
committed by
Charles Garwood
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."""
|
||||||
|
Reference in New Issue
Block a user