mirror of
https://github.com/home-assistant/core.git
synced 2025-07-15 17:27:10 +00:00
Remove unnessecary rfxtrx light property def (#30397)
This commit is contained in:
parent
77978a979b
commit
cac750066a
@ -96,14 +96,6 @@ class RfxtrxLight(RfxtrxDevice, Light, RestoreEntity):
|
||||
"""Return the brightness of this light between 0..255."""
|
||||
return self._brightness
|
||||
|
||||
@property
|
||||
def device_state_attributes(self):
|
||||
"""Return the device state attributes."""
|
||||
attr = {}
|
||||
if self._brightness is not None:
|
||||
attr[ATTR_BRIGHTNESS] = self._brightness
|
||||
return attr
|
||||
|
||||
@property
|
||||
def supported_features(self):
|
||||
"""Flag supported features."""
|
||||
|
Loading…
x
Reference in New Issue
Block a user