'Initialize the Netdata sensor.'

def __init__(self, rest, name, sensor_type):

    self.rest = rest
    self.type = sensor_type
    self._name = '{}    {}'.format(name, SENSOR_TYPES[self.type][0])
    self._precision = SENSOR_TYPES[self.type][4]
    self._unit_of_measurement = SENSOR_TYPES[self.type][1]
