'Return the state of the resources.'

@property
def state(self):

    value = self.rest.data
    if (value is not None):
        netdata_id = SENSOR_TYPES[self.type][3]
        if (netdata_id in value):
            return '{0:.{1}f}'.format(value[netdata_id], self._precision)
    return None
