From b3e37af9b1753c902a7722458b88e4f241740dd7 Mon Sep 17 00:00:00 2001 From: William Scanlon Date: Mon, 19 Nov 2018 22:52:43 -0500 Subject: [PATCH] Added unique id to all Wink devices. (#18589) --- homeassistant/components/wink/__init__.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/homeassistant/components/wink/__init__.py b/homeassistant/components/wink/__init__.py index 3db044c4d1b..a94f8c3bdf2 100644 --- a/homeassistant/components/wink/__init__.py +++ b/homeassistant/components/wink/__init__.py @@ -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."""