From 408e9b2943a664d36dc01496ac906771b247a5c0 Mon Sep 17 00:00:00 2001 From: Jeff Basso Date: Wed, 30 Mar 2022 14:18:00 -0500 Subject: [PATCH] Add Identity Attribute to enable areas (#62698) --- homeassistant/components/decora_wifi/light.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/homeassistant/components/decora_wifi/light.py b/homeassistant/components/decora_wifi/light.py index 84caf0ad29a..03cbe31b336 100644 --- a/homeassistant/components/decora_wifi/light.py +++ b/homeassistant/components/decora_wifi/light.py @@ -110,6 +110,11 @@ class DecoraWifiLight(LightEntity): """Return the display name of this switch.""" return self._switch.name + @property + def unique_id(self): + """Return the ID of this light.""" + return self._switch.serial + @property def brightness(self): """Return the brightness of the dimmer switch."""