From cac750066ae5ccaf906a4fbf1c45c4756bcefca5 Mon Sep 17 00:00:00 2001 From: Ernst Klamer Date: Thu, 2 Jan 2020 16:44:29 +0100 Subject: [PATCH] Remove unnessecary rfxtrx light property def (#30397) --- homeassistant/components/rfxtrx/light.py | 8 -------- 1 file changed, 8 deletions(-) diff --git a/homeassistant/components/rfxtrx/light.py b/homeassistant/components/rfxtrx/light.py index 9c0157870cb..437cce89c49 100644 --- a/homeassistant/components/rfxtrx/light.py +++ b/homeassistant/components/rfxtrx/light.py @@ -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."""