@property
    def device_state_attributes(self):
        attrs = {}
        if self._battery_level is not None:
            attrs[ATTR_BATTERY_LEVEL] = self._battery_level
        if self._last_updated is not None:
            attrs[ATTR_LAST_UPDATED] = self._last_updated
        return attrs
Return the state attributes.
dataset/ETHPy150Open home-assistant/home-assistant/homeassistant/components/sensor/tellduslive.py/TelldusLiveSensor.device_state_attributes