'Initialize the sensor.'

def __init__(self, sensor_type, sabnzb_client, client_name):

    self._name = SENSOR_TYPES[sensor_type][0]
    self.sabnzb_client = sabnzb_client
    self.type = sensor_type
    self.client_name = client_name
    self._state = None
    self._unit_of_measurement = SENSOR_TYPES[sensor_type][1]
