mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 11:17:21 +00:00
Add Identity Attribute to enable areas (#62698)
This commit is contained in:
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…
x
Reference in New Issue
Block a user