'Initialize the sensor.'

def __init__(self, sensor_type, argument=''):

    self._name = '{}    {}'.format(SENSOR_TYPES[sensor_type][0], argument)
    self.argument = argument
    self.type = sensor_type
    self._state = None
    self._unit_of_measurement = SENSOR_TYPES[sensor_type][1]
