diff --git a/terncy/binary_sensor.py b/terncy/binary_sensor.py index df7225d..5a7985d 100644 --- a/terncy/binary_sensor.py +++ b/terncy/binary_sensor.py @@ -119,11 +119,6 @@ def device_info(self): "via_device": (DOMAIN, self.hub_id), } - @property - def device_state_attributes(self): - """Get terncy curtain states.""" - return {} - class TerncyMotionSensor(BinarySensorEntity): """Representation of a Terncy curtain.""" @@ -195,11 +190,6 @@ def device_info(self): "via_device": (DOMAIN, self.hub_id), } - @property - def device_state_attributes(self): - """Get terncy curtain states.""" - return {} - def get_trigger(self, id): return [ { diff --git a/terncy/cover.py b/terncy/cover.py index a9f6aaa..829987d 100644 --- a/terncy/cover.py +++ b/terncy/cover.py @@ -146,8 +146,3 @@ async def async_set_cover_position(self, **kwargs): percent = kwargs[ATTR_POSITION] await self.api.set_attribute(self._device_id, "curtainPercent", percent, 0) self.async_write_ha_state() - - @property - def device_state_attributes(self): - """Get terncy curtain states.""" - return {} diff --git a/terncy/light.py b/terncy/light.py index eb8867f..c6b0b90 100644 --- a/terncy/light.py +++ b/terncy/light.py @@ -215,8 +215,3 @@ async def async_turn_off(self, **kwargs): self._onoff = False await self.api.set_onoff(self._device_id, 0) self.async_write_ha_state() - - @property - def device_state_attributes(self): - """Get terncy light states.""" - return {} diff --git a/terncy/sensor.py b/terncy/sensor.py index 88b6d29..e04e4c0 100644 --- a/terncy/sensor.py +++ b/terncy/sensor.py @@ -126,8 +126,3 @@ def device_info(self): "sw_version": self.version, "via_device": (DOMAIN, self.hub_id), } - - @property - def device_state_attributes(self): - """Get terncy curtain states.""" - return {} diff --git a/terncy/switch.py b/terncy/switch.py index 27c79b7..8876bed 100644 --- a/terncy/switch.py +++ b/terncy/switch.py @@ -113,11 +113,6 @@ async def async_turn_off(self, **kwargs): await self.api.set_onoff(self._device_id, 0) self.async_write_ha_state() - @property - def device_state_attributes(self): - """Get terncy smart plug states.""" - return {} - class TerncySwitch(SwitchEntity): """Representation of a Terncy Switch.""" @@ -202,8 +197,3 @@ async def async_turn_off(self, **kwargs): self._onoff = False await self.api.set_onoff(self._device_id, 0) self.async_write_ha_state() - - @property - def device_state_attributes(self): - """Get terncy smart plug states.""" - return {}