Add Identity Attribute to enable areas (#62698)
parent
a9ebeb2876
commit
408e9b2943
|
@ -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."""
|
||||
|
|
Loading…
Reference in New Issue