From 990fbdf3ca620b284a924a270921176804814481 Mon Sep 17 00:00:00 2001 From: Anders Melchiorsen Date: Tue, 30 Jan 2018 23:40:44 +0100 Subject: [PATCH] Unique ID for LIFX lights (#12064) --- homeassistant/components/light/lifx.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/homeassistant/components/light/lifx.py b/homeassistant/components/light/lifx.py index 090341e4255..71a261e3806 100644 --- a/homeassistant/components/light/lifx.py +++ b/homeassistant/components/light/lifx.py @@ -397,6 +397,11 @@ class LIFXLight(Light): """Return the availability of the device.""" return self.registered + @property + def unique_id(self): + """Return a unique ID.""" + return self.device.mac_addr + @property def name(self): """Return the name of the device."""