def __init__(self, sensor_type, argument=''):
        self._name = 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]
        self.update()
Initialize the sensor.
dataset/ETHPy150Open home-assistant/home-assistant/homeassistant/components/sensor/systemmonitor.py/SystemMonitorSensor.__init__