'Return the state attributes.'

@property
def device_state_attributes(self):

    if (self.data.rate is not None):
        return {ATTR_BASE: self.data.rate['base'], ATTR_TARGET: self._target, ATTR_EXCHANGE_RATE: self.data.rate['rates'][self._target], ATTR_ATTRIBUTION: CONF_ATTRIBUTION}
