Added unique id to all Wink devices. (#18589)

This commit is contained in:
William Scanlon 2018-11-19 22:52:43 -05:00 committed by Charles Garwood
parent 57f7e7eedc
commit b3e37af9b1

View File

@ -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."""