'Initialize a new NZBGet sensor.'

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

    self._name = '{}    {}'.format(client_name, sensor_type[1])
    self.type = sensor_type[0]
    self.client_name = client_name
    self.api = api
    self._state = None
    self._unit_of_measurement = sensor_type[2]
    self.update()
    _LOGGER.debug('Created    NZBGet    sensor:    %s', self.type)
