'Return the state attributes.'

@property
def device_state_attributes(self):

    attributes = {}
    if (self.data.measurings is not None):
        if ('02' in self.data.measurings):
            attributes[ATTR_WATERLEVEL] = self.data.measurings['02']['current']
            attributes[ATTR_WATERLEVEL_MEAN] = self.data.measurings['02']['mean']
            attributes[ATTR_WATERLEVEL_MAX] = self.data.measurings['02']['max']
        if ('03' in self.data.measurings):
            attributes[ATTR_TEMPERATURE_MEAN] = self.data.measurings['03']['mean']
            attributes[ATTR_TEMPERATURE_MAX] = self.data.measurings['03']['max']
        if ('10' in self.data.measurings):
            attributes[ATTR_DISCHARGE] = self.data.measurings['10']['current']
            attributes[ATTR_DISCHARGE_MEAN] = self.data.measurings['10']['current']
            attributes[ATTR_DISCHARGE_MAX] = self.data.measurings['10']['max']
        attributes[ATTR_LOCATION] = self.data.measurings['location']
        attributes[ATTR_UPDATE] = self.data.measurings['update_time']
        attributes[ATTR_ATTRIBUTION] = CONF_ATTRIBUTION
        return attributes
