Remove unnessecary rfxtrx light property def (#30397)

This commit is contained in:
Ernst Klamer 2020-01-02 16:44:29 +01:00 committed by Martin Hjelmare
parent 77978a979b
commit cac750066a

View File

@ -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."""